Branch: refs/heads/master Author: Thomas Martitz kugel@rockbox.org Committer: Thomas Martitz kugel@rockbox.org Date: Mon, 09 Nov 2015 16:38:19 UTC Commit: c6a7968d5ab71961db4b0a5e721d378048e60119 https://github.com/geany/geany-plugins/commit/c6a7968d5ab71961db4b0a5e721d37...
Log Message: ----------- geanyvc: enable gtk3 support
Modified Paths: -------------- build/geanyvc.m4 geanyvc/src/geanyvc.c
Modified: build/geanyvc.m4 1 lines changed, 0 insertions(+), 1 deletions(-) =================================================================== @@ -1,7 +1,6 @@ AC_DEFUN([GP_CHECK_GEANYVC], [ GP_ARG_DISABLE([GeanyVC], [auto]) - GP_CHECK_PLUGIN_GTK2_ONLY([GeanyVC]) GP_COMMIT_PLUGIN_STATUS([GeanyVC]) AC_ARG_ENABLE(gtkspell, AC_HELP_STRING([--enable-gtkspell=ARG],
Modified: geanyvc/src/geanyvc.c 9 lines changed, 4 insertions(+), 5 deletions(-) =================================================================== @@ -1279,7 +1279,7 @@ get_diff_color(G_GNUC_UNUSED GeanyDocument * doc, gint style)
#define GLADE_HOOKUP_OBJECT(component,widget,name) \ g_object_set_data_full (G_OBJECT (component), name, \ - gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref) + g_object_ref (widget), (GDestroyNotify) g_object_unref)
#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \ g_object_set_data (G_OBJECT (component), name, widget) @@ -1374,7 +1374,7 @@ create_commitDialog(void) gtk_window_set_type_hint(GTK_WINDOW(commitDialog), GDK_WINDOW_TYPE_HINT_DIALOG); gtk_dialog_set_has_separator(GTK_DIALOG(commitDialog), FALSE);
- dialog_vbox1 = GTK_DIALOG(commitDialog)->vbox; + dialog_vbox1 = gtk_dialog_get_content_area (GTK_DIALOG(commitDialog)); gtk_widget_show(dialog_vbox1);
vpaned1 = gtk_vpaned_new(); @@ -1464,7 +1464,7 @@ create_commitDialog(void) gtk_box_pack_end(GTK_BOX(commit_text_vbox), lineColumnLabel, TRUE, TRUE, 0); gtk_widget_show(lineColumnLabel);
- dialog_action_area1 = GTK_DIALOG(commitDialog)->action_area; + dialog_action_area1 = gtk_dialog_get_action_area (GTK_DIALOG(commitDialog)); gtk_widget_show(dialog_action_area1); gtk_button_box_set_layout(GTK_BUTTON_BOX(dialog_action_area1), GTK_BUTTONBOX_END);
@@ -2315,8 +2315,7 @@ plugin_init(G_GNUC_UNUSED GeanyData * data) ui_lookup_widget(geany->main_widgets->window, "menubar1"));
menu_vc = gtk_menu_item_new_with_mnemonic(_("_VC")); - gtk_menu_shell_insert( - menubar, menu_vc, g_list_length(menubar->children)-1); + gtk_menu_shell_append(menubar, menu_vc); } else {
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).