diff options
author | raveit65 <[email protected]> | 2017-08-07 20:16:35 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-15 14:21:29 +0200 |
commit | 62440325ceaa225edad6b01bd8c495c838ade6a1 (patch) | |
tree | dd1fd9e5abef43a0e4c4998e3e2cc08e577589ab /libview | |
parent | a7dd748aab0877efb1e681ffe72c6285ad23a29e (diff) | |
download | atril-62440325ceaa225edad6b01bd8c495c838ade6a1.tar.bz2 atril-62440325ceaa225edad6b01bd8c495c838ade6a1.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
Diffstat (limited to 'libview')
-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 a9bdef3b..b7410d87 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)); |