[Galago-commits] r2447 - in trunk/notification-daemon: . src

galago-commits at freedesktop.org galago-commits at freedesktop.org
Fri Jan 20 00:01:59 PST 2006


Author: chipx86
Date: 2006-01-20 00:01:58 -0800 (Fri, 20 Jan 2006)
New Revision: 2447

Modified:
   trunk/notification-daemon/ChangeLog
   trunk/notification-daemon/src/daemon.c
Log:
Remove the debug messages. We shouldn't need these anymore, as the base stuff is working.


Modified: trunk/notification-daemon/ChangeLog
===================================================================
--- trunk/notification-daemon/ChangeLog	2006-01-20 08:00:14 UTC (rev 2446)
+++ trunk/notification-daemon/ChangeLog	2006-01-20 08:01:58 UTC (rev 2447)
@@ -1,3 +1,9 @@
+Fri Jan 20 00:01:04 PST 2006  Christian Hammond <chipx86 at chipx86.com>
+
+	* src/daemon.c:
+	  - Remove the debug messages. We shouldn't need these anymore, as the
+	    base stuff is working.
+
 Thu Jan 19 23:59:42 PST 2006  Christian Hammond <chipx86 at chipx86.com>
 
 	* src/daemon.c:

Modified: trunk/notification-daemon/src/daemon.c
===================================================================
--- trunk/notification-daemon/src/daemon.c	2006-01-20 08:00:14 UTC (rev 2446)
+++ trunk/notification-daemon/src/daemon.c	2006-01-20 08:01:58 UTC (rev 2447)
@@ -581,8 +581,6 @@
 	x = workarea.x + workarea.width - req.width;
 	y = workarea.y + workarea.height - req.height;
 
-	g_message("x %i y %i width %i height %i", x, y, req.width, req.height);
-
 	theme_move_notification(nw, x, y);
 
 	for (link = priv->poptart_stack; link != NULL; link = link->next)
@@ -592,7 +590,6 @@
 		gtk_widget_size_request(GTK_WIDGET(nw2), &req);
 		x = workarea.x + workarea.width - req.width;
 		y = y - req.height;
-		g_message("x %i y %i width %i height %i", x, y, req.width, req.height);
 		theme_move_notification(nw2, x, y);
 	}
 
@@ -851,7 +848,6 @@
 
 	g_log_set_always_fatal(G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL);
 
-	g_message("initializing glib type system");
 	gtk_init(&argc, &argv);
 	gconf_init(argc, argv, NULL);
 
@@ -870,10 +866,8 @@
 		exit(1);
 	}
 
-	g_message("register 'daemon' type with dbus-glib...");
 	dbus_g_object_type_install_info(NOTIFY_TYPE_DAEMON,
 									&dbus_glib__object_info);
-	g_message("'daemon' successfully registered");
 
 	bus_proxy = dbus_g_proxy_new_for_name(connection,
 										  "org.freedesktop.DBus",
@@ -890,15 +884,11 @@
 		g_error("Could not aquire name: %s", error->message);
 	}
 
-	g_message("creating instance of 'daemon' object...");
 	daemon = notify_daemon_new();
-	g_message("'daemon' object created successfully");
 
-	g_message("exporting instance of 'daemon' object over the bus...");
 	dbus_g_connection_register_g_object(connection,
 										"/org/freedesktop/Notifications",
 										G_OBJECT(daemon));
-	g_message("'daemon' object exported successfully");
 
 	gtk_main();
 



More information about the galago-commits mailing list