[Commits] manage_window.c 1.1.4.12 1.1.4.13

colin at claws-mail.org colin at claws-mail.org
Tue Nov 27 11:14:11 CET 2012


Update of /home/claws-mail/claws/src/gtk
In directory srv:/tmp/cvs-serv29337/src/gtk

Modified Files:
      Tag: gtk2
	manage_window.c 
Log Message:
2012-11-27 [colin]	3.9.0cvs23

	* src/gtk/manage_window.c
		Stop spamming logs with focus events.

Index: manage_window.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/manage_window.c,v
retrieving revision 1.1.4.12
retrieving revision 1.1.4.13
diff -u -d -r1.1.4.12 -r1.1.4.13
--- manage_window.c	16 Nov 2012 16:10:09 -0000	1.1.4.12
+++ manage_window.c	27 Nov 2012 10:14:09 -0000	1.1.4.13
@@ -34,8 +34,8 @@
 		return FALSE;
 	
 	title = gtk_window_get_title(GTK_WINDOW(widget));
-	debug_print("Focus in event: window: %p - %s\n", widget,
-		    title ? title : "no title");
+	/* debug_print("Focus in event: window: %p - %s\n", widget,
+		    title ? title : "no title"); */
 
 	focus_window = widget;
 
@@ -51,8 +51,8 @@
 		return FALSE;
 
 	title = gtk_window_get_title(GTK_WINDOW(widget));
-	debug_print("Focus out event: window: %p - %s\n", widget,
-		    title ? title : "no title");
+	/* debug_print("Focus out event: window: %p - %s\n", widget,
+		    title ? title : "no title"); */
 
 	if (focus_window == widget)
 		focus_window = NULL;
@@ -63,8 +63,8 @@
 gint manage_window_unmap(GtkWidget *widget, GdkEventAny *event, gpointer data)
 {
 	const gchar *title = gtk_window_get_title(GTK_WINDOW(widget));
-	debug_print("Unmap event: window: %p - %s\n", widget,
-		    title ? title : "no title");
+	/* debug_print("Unmap event: window: %p - %s\n", widget,
+		    title ? title : "no title"); */
 
 	if (focus_window == widget)
 		focus_window = NULL;
@@ -75,8 +75,8 @@
 void manage_window_destroy(GtkWidget *widget, gpointer data)
 {
 	const gchar *title = gtk_window_get_title(GTK_WINDOW(widget));
-	debug_print("Destroy event: window: %p - %s\n", widget,
-		    title ? title : "no title");
+	/* debug_print("Destroy event: window: %p - %s\n", widget,
+		    title ? title : "no title"); */
 
 
 	if (focus_window == widget)



More information about the Commits mailing list