libgnomekbd r368 - in trunk: . capplet
- From: svu svn gnome org
- To: svn-commits-list gnome org
- Subject: libgnomekbd r368 - in trunk: . capplet
- Date: Wed, 25 Feb 2009 21:42:53 +0000 (UTC)
Author: svu
Date: Wed Feb 25 21:42:53 2009
New Revision: 368
URL: http://svn.gnome.org/viewvc/libgnomekbd?rev=368&view=rev
Log:
fixed deprecated signal API, #572661
Modified:
trunk/ChangeLog
trunk/capplet/gkbd-indicator-plugins-capplet.c
Modified: trunk/capplet/gkbd-indicator-plugins-capplet.c
==============================================================================
--- trunk/capplet/gkbd-indicator-plugins-capplet.c (original)
+++ trunk/capplet/gkbd-indicator-plugins-capplet.c Wed Feb 25 21:42:53 2009
@@ -297,7 +297,7 @@
gipc->capplet = capplet =
glade_xml_get_widget (data, "gkbd_indicator_plugins");
- gtk_object_set_data (GTK_OBJECT (capplet), "gladeData", data);
+ g_object_set_data (G_OBJECT (capplet), "gladeData", data);
g_signal_connect_swapped (GTK_OBJECT (capplet),
"destroy", G_CALLBACK (g_object_unref),
data);
@@ -308,20 +308,20 @@
"response", G_CALLBACK (CappletResponse), NULL);
glade_xml_signal_connect_data (data, "on_btnUp_clicked",
- GTK_SIGNAL_FUNC
+ G_CALLBACK
(CappletPromotePlugin), gipc);
glade_xml_signal_connect_data (data,
"on_btnDown_clicked",
- GTK_SIGNAL_FUNC
+ G_CALLBACK
(CappletDemotePlugin), gipc);
glade_xml_signal_connect_data (data, "on_btnAdd_clicked",
- GTK_SIGNAL_FUNC
+ G_CALLBACK
(CappletEnablePlugin), gipc);
glade_xml_signal_connect_data (data, "on_btnRemove_clicked",
- GTK_SIGNAL_FUNC
+ G_CALLBACK
(CappletDisablePlugin), gipc);
glade_xml_signal_connect_data (data, "on_btnProperties_clicked",
- GTK_SIGNAL_FUNC
+ G_CALLBACK
(CappletConfigurePlugin), gipc);
activePlugins = CappletGetGladeWidget (gipc, "activePlugins");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]