From: handa Date: Tue, 27 Mar 2007 12:32:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-0-9-0~29 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9e09b03e5072251af12bb7bf98671979f0312f0;p=m17n%2Fm17n-im-config.git *** empty log message *** --- diff --git a/src/main.c b/src/main.c index 047c259..29990d0 100644 --- a/src/main.c +++ b/src/main.c @@ -46,7 +46,7 @@ void status_changed_cb (GtkWidget *config, gpointer data) { struct CallbackArgument *arg = data; - gboolean modified = mim_config_modified (arg->config); + gboolean modified = mim_config_modified (config); if (GTK_WIDGET_SENSITIVE (arg->save)) { @@ -73,7 +73,7 @@ revert_clicked_cb (GtkButton *button, gpointer data) struct CallbackArgument *arg = data; mim_config_revert (arg->config); - status_changed_cb (FALSE, data); + status_changed_cb (arg->config, data); } /* Called when "save" button is clicked. */ @@ -83,7 +83,7 @@ save_clicked_cb (GtkButton *button, gpointer data) struct CallbackArgument *arg = data; mim_config_save (arg->config); - status_changed_cb (FALSE, data); + status_changed_cb (arg->config, data); } /* Called when "quit" button is clicked. */