Committed instant-apply patch sans background.

2002-02-11  Richard Hestilow  <hestilow@ximian.com>

	* Committed instant-apply patch sans background.
This commit is contained in:
Richard Hestilow 2002-02-12 06:16:11 +00:00 committed by Rachel Hestilow
parent 95d4480dc2
commit 31ac49063f
20 changed files with 268 additions and 261 deletions

View file

@ -75,9 +75,6 @@ dialog_button_clicked_cb (GtkDialog *dialog, gint response_id, GConfChangeSet *c
{
switch (response_id)
{
case RESPONSE_APPLY:
gconf_client_commit_change_set (gconf_client_get_default (), changeset, TRUE, NULL);
break;
case RESPONSE_CLOSE:
case GTK_RESPONSE_DELETE_EVENT:
default:
@ -125,7 +122,7 @@ int
main (int argc, char **argv)
{
GConfClient *client;
GConfChangeSet *changeset;
GConfChangeSet *changeset = NULL;
GladeXML *dialog;
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
@ -137,7 +134,6 @@ main (int argc, char **argv)
NULL);
client = gconf_client_get_default ();
changeset = gconf_change_set_new ();
gconf_client_add_dir (client, "/desktop/gnome/interface", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
dialog = create_dialog ();
@ -145,7 +141,5 @@ main (int argc, char **argv)
gtk_main ();
gconf_change_set_unref (changeset);
return 0;
}