[geany/geany-plugins] a06036: geanyvc: fix commit dialog freeze on GTK3

Thomas Martitz git-noreply at xxxxx
Mon Nov 9 22:15:21 UTC 2015


Branch:      refs/heads/master
Author:      Thomas Martitz <kugel at rockbox.org>
Committer:   Thomas Martitz <kugel at rockbox.org>
Date:        Mon, 09 Nov 2015 22:15:21 UTC
Commit:      a06036d3ed0a0d3e529124de626d80cd1845fdd7
             https://github.com/geany/geany-plugins/commit/a06036d3ed0a0d3e529124de626d80cd1845fdd7

Log Message:
-----------
geanyvc: fix commit dialog freeze on GTK3

gtk_dialog_set_has_separator() was removed in gtk3. For some reason
geanyvc successfully linked anyway, and when it was called it completely
messed up GTK's internal state.

The call can be removed without replacement since the separator has been off
by default since a while even in GTK2.


Modified Paths:
--------------
    geanyvc/src/geanyvc.c

Modified: geanyvc/src/geanyvc.c
1 lines changed, 0 insertions(+), 1 deletions(-)
===================================================================
@@ -1365,7 +1365,6 @@ create_commitDialog(void)
 	gtk_window_set_modal(GTK_WINDOW(commitDialog), TRUE);
 	gtk_window_set_destroy_with_parent(GTK_WINDOW(commitDialog), TRUE);
 	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_get_content_area (GTK_DIALOG(commitDialog));
 	gtk_widget_show(dialog_vbox1);



--------------
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