fix GConf notification

2007-06-14  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keybinding-properties.c: (setup_dialog): fix GConf
	notification

svn path=/trunk/; revision=7724
This commit is contained in:
Jens Granseuer 2007-06-14 19:47:28 +00:00 committed by Jens Granseuer
parent 0e75c95593
commit 0eb282cfa1
2 changed files with 23 additions and 18 deletions

View file

@ -1,3 +1,8 @@
2007-06-14 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (setup_dialog): fix GConf
notification
2007-05-02 Jens Granseuer <jensgr@gmx.net>
* gnome-keybinding-properties.c: (main): add g_thread_init as

View file

@ -1141,7 +1141,7 @@ setup_dialog (GladeXML *dialog)
gconf_client_add_dir (client, "/apps/metacity/general", GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
gconf_client_notify_add (client,
"/apps/metacity/general/num_workspaces",
(GConfClientNotifyFunc) &key_entry_controlling_key_changed,
(GConfClientNotifyFunc) key_entry_controlling_key_changed,
dialog, NULL, NULL);
g_object_unref (client);
@ -1154,7 +1154,7 @@ setup_dialog (GladeXML *dialog)
capplet_set_icon (widget, "gnome-settings-keybindings");
gtk_widget_show (widget);
g_signal_connect (G_OBJECT (widget), "response", G_CALLBACK(cb_dialog_response), dialog);
g_signal_connect (G_OBJECT (widget), "response", G_CALLBACK (cb_dialog_response), dialog);
}
int