diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2019-01-12 19:31:20 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2020-10-18 17:47:53 +0100 |
commit | 1953e0b4b6a0317131df2de1b0f2c0483ad7690e (patch) | |
tree | 9d0aa83383af9a917863d0cac6f3ef4ced8b0219 /mixgtk/mixgtk_gen_handlers.c | |
parent | 1cfdfe433c8c8dcb40a0813528d7d0e0bb5ae2b6 (diff) | |
download | mdk-1953e0b4b6a0317131df2de1b0f2c0483ad7690e.tar.gz mdk-1953e0b4b6a0317131df2de1b0f2c0483ad7690e.tar.bz2 |
Mirgration to GTK+3: seemingly safe changes
Diffstat (limited to 'mixgtk/mixgtk_gen_handlers.c')
-rw-r--r-- | mixgtk/mixgtk_gen_handlers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mixgtk/mixgtk_gen_handlers.c b/mixgtk/mixgtk_gen_handlers.c index 4124b9c..010bdc1 100644 --- a/mixgtk/mixgtk_gen_handlers.c +++ b/mixgtk/mixgtk_gen_handlers.c @@ -185,7 +185,8 @@ on_clear_breakpoints_activate (GtkWidget *w, gpointer data) void on_save_on_exit_toggle (GtkWidget *w, gpointer data) { - mixgtk_config_set_autosave (GTK_CHECK_MENU_ITEM (w)->active); + gboolean active = gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (w)); + mixgtk_config_set_autosave (active); } void |