summaryrefslogtreecommitdiff
path: root/stickynotes
diff options
context:
space:
mode:
authorCallum McKenzie <callum@src.gnome.org>2009-01-23 03:07:02 +0000
committerCallum McKenzie <callum@src.gnome.org>2009-01-23 03:07:02 +0000
commita3b162ff910068d66e7df6564db19c769f03f742 (patch)
tree585179ca0fa0a4a60f4517bb39d7fa34c6c7c302 /stickynotes
parent4c6cbc2d855226c8f7851fbfd4cf336b4ad1c03a (diff)
Stickynotes libgnome removal work. See bug 562333, patch 126488.
svn path=/trunk/; revision=11214
Diffstat (limited to 'stickynotes')
-rw-r--r--stickynotes/ChangeLog5
-rw-r--r--stickynotes/stickynotes_applet.c10
2 files changed, 5 insertions, 10 deletions
diff --git a/stickynotes/ChangeLog b/stickynotes/ChangeLog
index 368a5c39a..fdfe209bc 100644
--- a/stickynotes/ChangeLog
+++ b/stickynotes/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-23 Callum McKenzie <callum@spooky-possum.org>
+
+ * stickynotes_applet.c: Remove use of gnome_client_*. See bug
+ 562333.
+
2009-01-15 Callum McKenzie <callum@spooky-possum.org>
* stickynotes.c: We aren't using libgnomeui anymore. Bug 567775.
diff --git a/stickynotes/stickynotes_applet.c b/stickynotes/stickynotes_applet.c
index 0745680e7..45ca8df0d 100644
--- a/stickynotes/stickynotes_applet.c
+++ b/stickynotes/stickynotes_applet.c
@@ -24,7 +24,6 @@
#include "stickynotes.h"
#include <gtk/gtk.h>
-#include <libgnomeui/gnome-client.h>
StickyNotes *stickynotes = NULL;
@@ -120,7 +119,6 @@ stickynotes_make_prelight_icon (GdkPixbuf *dest, GdkPixbuf *src, int shift)
void
stickynotes_applet_init (PanelApplet *panel_applet)
{
- GnomeClient *client;
int timeout;
stickynotes = g_new(StickyNotes, 1);
@@ -165,14 +163,6 @@ stickynotes_applet_init (PanelApplet *panel_applet)
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)));