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))
{
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. */
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. */