gnome-applets r11287 - trunk/gswitchit



Author: svu
Date: Mon Feb 16 22:16:58 2009
New Revision: 11287
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11287&view=rev

Log:
removed deprecated symbols, Bug #562520

Modified:
   trunk/gswitchit/ChangeLog
   trunk/gswitchit/gswitchit-applet.c

Modified: trunk/gswitchit/gswitchit-applet.c
==============================================================================
--- trunk/gswitchit/gswitchit-applet.c	(original)
+++ trunk/gswitchit/gswitchit-applet.c	Mon Feb 16 22:16:58 2009
@@ -245,7 +245,7 @@
 GSwitchItPreviewDestroy (GtkWidget * dialog, gint group)
 {
 	GtkBuilder *builder =
-	    GTK_BUILDER (gtk_object_get_data
+	    GTK_BUILDER (g_object_get_data
 			 (GTK_OBJECT (dialog), "builderData"));
 	g_object_unref (G_OBJECT (builder));
 	g_hash_table_remove (globals.previewDialogs,
@@ -364,7 +364,7 @@
 	}
 	g_object_unref (G_OBJECT (xklData));
 
-	gtk_object_set_data (GTK_OBJECT (dialog), "builderData", builder);
+	g_object_set_data (GTK_OBJECT (dialog), "builderData", builder);
 	g_signal_connect (GTK_OBJECT (dialog),
 			  "destroy", G_CALLBACK (GSwitchItPreviewDestroy),
 			  GINT_TO_POINTER (xklState->group));
@@ -386,7 +386,7 @@
 			   (gtk_builder_get_object
 			    (builder, "preview_vbox")), kbdraw);
 
-	gtk_object_set_data (GTK_OBJECT (dialog), "kbdraw", kbdraw);
+	g_object_set_data (GTK_OBJECT (dialog), "kbdraw", kbdraw);
 
 	g_hash_table_insert (globals.previewDialogs,
 			     GINT_TO_POINTER (xklState->group), dialog);
@@ -665,7 +665,7 @@
 	g_signal_connect (GTK_OBJECT (sia->gki), "reinit-ui",
 			  G_CALLBACK (GSwitchItAppletReinitUi), sia);
 
-	gtk_object_set_data (GTK_OBJECT (sia->applet), "sia", sia);
+	g_object_set_data (GTK_OBJECT (sia->applet), "sia", sia);
 	GSwitchItAppletSetupMenu (sia);
 	return TRUE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]