[Galago-commits] r2889 - trunk/notification-daemon/src

galago-commits at freedesktop.org galago-commits at freedesktop.org
Sat Jul 29 21:41:13 PDT 2006


Author: chipx86
Date: 2006-07-29 21:40:40 -0700 (Sat, 29 Jul 2006)
New Revision: 2889

Modified:
   trunk/notification-daemon/src/daemon.c
Log:
Misc stuff things.


Modified: trunk/notification-daemon/src/daemon.c
===================================================================
--- trunk/notification-daemon/src/daemon.c	2006-07-30 04:01:08 UTC (rev 2888)
+++ trunk/notification-daemon/src/daemon.c	2006-07-30 04:40:40 UTC (rev 2889)
@@ -123,9 +123,9 @@
 };
 #endif /* D-BUS < 0.60 */
 
-static void update_stack_location_from_string(NotifyDaemon *daemon,
-											  const char *slocation);
 static void notify_daemon_finalize(GObject *object);
+static void _update_stack_location_from_string(NotifyDaemon *daemon,
+											   const char *slocation);
 static void _close_notification(NotifyDaemon *daemon, guint id,
 								gboolean hide_notification);
 static void _emit_closed_signal(GtkWindow *nw);
@@ -187,12 +187,6 @@
 		parent_class->finalize(object);
 }
 
-NotifyDaemon *
-notify_daemon_new(void)
-{
-	return g_object_new(NOTIFY_TYPE_DAEMON, NULL);
-}
-
 static void
 update_stack_location_from_string(NotifyDaemon *daemon, const char *slocation)
 {
@@ -1308,7 +1302,7 @@
 		g_error("Could not aquire name: %s", error->message);
 	}
 
-	daemon = notify_daemon_new();
+	daemon = g_object_new(NOTIFY_TYPE_DAEMON, NULL);
 
 	gconf_client_notify_add(gconf_client, GCONF_KEY_POPUP_LOCATION,
 							popup_location_changed_cb, daemon,



More information about the galago-commits mailing list