[Commits] [SCM] claws branch, master, updated. 3.9.2-6-g177c748

claws at claws-mail.org claws at claws-mail.org
Tue Jun 11 15:17:03 CEST 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  177c7487c4b46d1106b1efbda9eea5ac57158a88 (commit)
      from  adb54749750fd6e145209b0a43e0e60cb8c12254 (commit)


- Log -----------------------------------------------------------------
commit 177c7487c4b46d1106b1efbda9eea5ac57158a88
Author: Paul <paul at claws-mail.org>
Date:   Tue Jun 11 14:16:54 2013 +0100

    fix a couple more compiler warnings

diff --git a/src/foldersel.c b/src/foldersel.c
index 2ac11e1..ef29fc0 100644
--- a/src/foldersel.c
+++ b/src/foldersel.c
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -178,7 +178,7 @@ FolderItem *foldersel_folder_sel(Folder *cur_folder, FolderSelectionType type,
 	gtk_widget_grab_focus(ok_button);
 	gtk_widget_grab_focus(treeview);
 
-	gtk_window_present(window);
+	gtk_window_present(GTK_WINDOW(window));
 	gtk_window_set_modal(GTK_WINDOW(window), TRUE);
 	manage_window_set_transient(GTK_WINDOW(window));
 
diff --git a/src/gtk/manage_window.c b/src/gtk/manage_window.c
index 0cbad1c..a1100ec 100644
--- a/src/gtk/manage_window.c
+++ b/src/gtk/manage_window.c
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2013 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,13 +28,13 @@ GtkWidget *focus_window;
 gint manage_window_focus_in(GtkWidget *widget, GdkEventFocus *event,
 			    gpointer data)
 {
-	const gchar *title = NULL;
+/*	const gchar *title = NULL; */
 
 	if (!GTK_IS_WINDOW(widget))
 		return FALSE;
 	
-	title = gtk_window_get_title(GTK_WINDOW(widget));
-	/* debug_print("Focus in event: window: %p - %s\n", widget,
+/*	title = gtk_window_get_title(GTK_WINDOW(widget));
+	 debug_print("Focus in event: window: %p - %s\n", widget,
 		    title ? title : "no title"); */
 
 	focus_window = widget;
@@ -45,13 +45,13 @@ gint manage_window_focus_in(GtkWidget *widget, GdkEventFocus *event,
 gint manage_window_focus_out(GtkWidget *widget, GdkEventFocus *event,
 			     gpointer data)
 {
-	const gchar *title = NULL;
+/*	const gchar *title = NULL; */
 
 	if (!GTK_IS_WINDOW(widget))
 		return FALSE;
 
-	title = gtk_window_get_title(GTK_WINDOW(widget));
-	/* debug_print("Focus out event: window: %p - %s\n", widget,
+/*	title = gtk_window_get_title(GTK_WINDOW(widget));
+	 debug_print("Focus out event: window: %p - %s\n", widget,
 		    title ? title : "no title"); */
 
 	if (focus_window == widget)
@@ -62,8 +62,8 @@ gint manage_window_focus_out(GtkWidget *widget, GdkEventFocus *event,
 
 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,
+/*	const gchar *title = gtk_window_get_title(GTK_WINDOW(widget));
+	 debug_print("Unmap event: window: %p - %s\n", widget,
 		    title ? title : "no title"); */
 
 	if (focus_window == widget)
@@ -74,8 +74,8 @@ gint manage_window_unmap(GtkWidget *widget, GdkEventAny *event, gpointer data)
 
 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,
+/*	const gchar *title = gtk_window_get_title(GTK_WINDOW(widget));
+	 debug_print("Destroy event: window: %p - %s\n", widget,
 		    title ? title : "no title"); */
 
 

-----------------------------------------------------------------------

Summary of changes:
 src/foldersel.c         |    4 ++--
 src/gtk/manage_window.c |   22 +++++++++++-----------
 2 files changed, 13 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list