[maemo-commits] [maemo-commits] r13481 - projects/haf/trunk/clipboard-manager

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Aug 30 14:23:45 EEST 2007
Author: jobi
Date: 2007-08-30 14:23:43 +0300 (Thu, 30 Aug 2007)
New Revision: 13481

Modified:
   projects/haf/trunk/clipboard-manager/ChangeLog
   projects/haf/trunk/clipboard-manager/gconf2xsettings.c
   projects/haf/trunk/clipboard-manager/manager.c
Log:

2007-08-30  Johan Bilien  <johan.bilien at nokia.com>

	* manager.c: Removed debug message
	* gconf2xsettings.c:
	- removed debug messages
	- do not pass the locale to add_notify as it is not implemented
	anyway and gives a warning
	Fixes: NB#67393



Modified: projects/haf/trunk/clipboard-manager/ChangeLog
===================================================================
--- projects/haf/trunk/clipboard-manager/ChangeLog	2007-08-30 11:13:55 UTC (rev 13480)
+++ projects/haf/trunk/clipboard-manager/ChangeLog	2007-08-30 11:23:43 UTC (rev 13481)
@@ -1,3 +1,12 @@
+2007-08-30  Johan Bilien  <johan.bilien at nokia.com>
+
+	* manager.c: Removed debug message
+	* gconf2xsettings.c:
+	- removed debug messages
+	- do not pass the locale to add_notify as it is not implemented
+	anyway and gives a warning
+	Fixes: NB#67393
+
 2007-08-20  Gabriel Schulhof  <gabriel.schulhof at nokia.com>
 
 	Release 0.6.7

Modified: projects/haf/trunk/clipboard-manager/gconf2xsettings.c
===================================================================
--- projects/haf/trunk/clipboard-manager/gconf2xsettings.c	2007-08-30 11:13:55 UTC (rev 13480)
+++ projects/haf/trunk/clipboard-manager/gconf2xsettings.c	2007-08-30 11:23:43 UTC (rev 13481)
@@ -23,8 +23,6 @@
   {
   XSettingsResult result = XSETTINGS_FAILED ;
 
-  g_print ("*** gconf_key_value_changed: Modifying XSettings key %s\n", params->xsettings_key) ;
-
   if (entry->value != NULL)
     switch (entry->value->type)
       {
@@ -60,8 +58,6 @@
   GError *error = NULL ;
   GCONF_KEY_VALUE_CHANGED_PARAMS *cb_params = NULL ;
 
-  g_print("ht_gconf_keys_add_notify: Entering\n");
-
   if (NULL == (cb_params = g_malloc0 (sizeof (GCONF_KEY_VALUE_CHANGED_PARAMS)))) return ;
 
   cb_params->xsettings_key = xsettings_key ;
@@ -71,15 +67,10 @@
     {
     GConfEntry *entry = NULL;
 
-    g_print("ht_gconf_keys_add_notify: getenv(\"LC_MESSAGES\") = %s\n", getenv("LC_MESSAGES"));
-
-    if ((entry = gconf_client_get_entry(params->gconf_client, gconf_key, getenv("LC_MESSAGES"), TRUE, NULL)) != NULL)
+    if ((entry = gconf_client_get_entry(params->gconf_client, gconf_key, NULL, TRUE, NULL)) != NULL)
       {
-      g_print("ht_gconf_keys_add_notify: Calling gconf_key_value_changed\n");
       gconf_key_value_changed (params->gconf_client, id, entry, cb_params) ;
       }
-    else
-      g_print("ht_gconf_keys_add_notify: Not calling gconf_key_value_changed, because I couldn't get the entry\n");
     }
 
   if (NULL != error)

Modified: projects/haf/trunk/clipboard-manager/manager.c
===================================================================
--- projects/haf/trunk/clipboard-manager/manager.c	2007-08-30 11:13:55 UTC (rev 13480)
+++ projects/haf/trunk/clipboard-manager/manager.c	2007-08-30 11:23:43 UTC (rev 13481)
@@ -110,8 +110,6 @@
   x11_event_source->event_poll_fd.events = G_IO_IN ;
   g_source_add_poll ((GSource *)x11_event_source, &x11_event_source->event_poll_fd) ;
 
-  g_print ("x11_event_source_new: Returning 0x%x\n", (int)x11_event_source) ;
-
   return (GSource *)x11_event_source ;
   }
 


More information about the maemo-commits mailing list