gnome-applets r11214 - trunk/stickynotes



Author: callum
Date: Fri Jan 23 03:07:02 2009
New Revision: 11214
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11214&view=rev

Log:
Stickynotes libgnome removal work. See bug 562333, patch 126488.

Modified:
   trunk/stickynotes/ChangeLog
   trunk/stickynotes/stickynotes_applet.c

Modified: trunk/stickynotes/stickynotes_applet.c
==============================================================================
--- trunk/stickynotes/stickynotes_applet.c	(original)
+++ trunk/stickynotes/stickynotes_applet.c	Fri Jan 23 03:07:02 2009
@@ -24,7 +24,6 @@
 #include "stickynotes.h"
 
 #include <gtk/gtk.h>
-#include <libgnomeui/gnome-client.h>
 
 StickyNotes *stickynotes = NULL;
 
@@ -120,7 +119,6 @@
 void
 stickynotes_applet_init (PanelApplet *panel_applet)
 {	
-	GnomeClient *client;
 	int timeout;
 
 	stickynotes = g_new(StickyNotes, 1);
@@ -165,14 +163,6 @@
 	gconf_client_notify_add (stickynotes->gconf, GCONF_PATH "/settings",
 			(GConfClientNotifyFunc) preferences_apply_cb,
 			NULL, NULL, NULL);
-
-	client = gnome_master_client ();
-	gnome_client_set_restart_style (client, GNOME_RESTART_NEVER);
-
-	/* The help suggests this is automatic, but that seems to not be
-	 * the case here. */
-	gnome_client_connect (client);
-	gnome_client_flush (client);
 	
 	/* Load sticky notes */
 	stickynotes_load (gtk_widget_get_screen (GTK_WIDGET (panel_applet)));



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