diff options
author | raveit65 <[email protected]> | 2017-08-07 20:16:35 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-11 13:58:24 +0200 |
commit | 4fc263679c77c7db26e0259efd44fd2a9d513712 (patch) | |
tree | 20af605a1c5f1dc0d38ae1305d40f41f5c095e62 | |
parent | 21e9431b8cf60db9ab2f9cf846e2f34ba07979f3 (diff) | |
download | atril-4fc263679c77c7db26e0259efd44fd2a9d513712.tar.bz2 atril-4fc263679c77c7db26e0259efd44fd2a9d513712.tar.xz |
libview: save changes to a dropdown in an embedded form
This is a regression from commit
https://github.com/mate-desktop/atril/commit/f8aec90
see:
https://github.com/linuxmint/xreader/commit/46298df
https://github.com/linuxmint/xreader/issues/12
-rw-r--r-- | libview/ev-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index a930deae..0e84a1e4 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -2177,7 +2177,7 @@ ev_view_form_field_text_create_widget (EvView *view, g_free (txt); } - g_signal_connect( buffer, "focus-out-event", + g_signal_connect (text, "focus-out-event", G_CALLBACK (ev_view_form_field_text_focus_out), view); g_signal_connect (buffer, "changed", @@ -2235,7 +2235,7 @@ ev_view_form_field_choice_changed (GtkWidget *widget, { EvFormFieldChoice *field_choice = EV_FORM_FIELD_CHOICE (field); - if (gtk_combo_box_get_has_entry ( GTK_COMBO_BOX (widget))) { + if (GTK_IS_COMBO_BOX (widget)) { gint item; item = gtk_combo_box_get_active (GTK_COMBO_BOX (widget)); |