[geany/geany-plugins] b91473: GeanyPrj: Fix GTK+3 support
Quentin Glidic
git-noreply at xxxxx
Thu Mar 17 11:02:52 UTC 2016
Branch: refs/heads/master
Author: Quentin Glidic <sardemff7+git at sardemff7.net>
Committer: Quentin Glidic <sardemff7+git at sardemff7.net>
Date: Thu, 17 Mar 2016 11:02:52 UTC
Commit: b914732e2eadea55c6d1a47b346c3205c7542068
https://github.com/geany/geany-plugins/commit/b914732e2eadea55c6d1a47b346c3205c7542068
Log Message:
-----------
GeanyPrj: Fix GTK+3 support
Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
Modified Paths:
--------------
build/geanyprj.m4
geanyprj/src/menu.c
Modified: build/geanyprj.m4
1 lines changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -1,7 +1,6 @@
AC_DEFUN([GP_CHECK_GEANYPRJ],
[
GP_ARG_DISABLE([GeanyPrj], [auto])
- GP_CHECK_PLUGIN_GTK2_ONLY([GeanyPrj])
GP_COMMIT_PLUGIN_STATUS([GeanyPrj])
AC_CONFIG_FILES([
geanyprj/Makefile
Modified: geanyprj/src/menu.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -180,9 +180,9 @@ static PropertyDialogElements *build_properties_dialog(gboolean properties)
label = gtk_label_new(_("Type:"));
gtk_misc_set_alignment(GTK_MISC(label), 1, 0);
- e->type = gtk_combo_box_new_text();
+ e->type = gtk_combo_box_text_new();
for (i = 0; i < NEW_PROJECT_TYPE_SIZE; i++)
- gtk_combo_box_append_text(GTK_COMBO_BOX(e->type), project_type_string[i]);
+ gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(e->type), project_type_string[i]);
gtk_combo_box_set_active(GTK_COMBO_BOX(e->type), 0);
ui_table_add_row(GTK_TABLE(table), 4, label, e->type, NULL);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list