[evolution-patches] compiler warning fixes



fixes some compiler warnings introduced by a previous commit.

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
? warnings.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.544.2.4
diff -u -r1.544.2.4 ChangeLog
--- ChangeLog	15 Jul 2003 06:03:31 -0000	1.544.2.4
+++ ChangeLog	17 Jul 2003 05:18:20 -0000
@@ -1,3 +1,8 @@
+2003-07-17  Jeffrey Stedfast  <fejj ximian com>
+
+	* e-msg-composer-attachment-bar.c (popup_menu_event): Fix some
+	compiler warnings introduced by the previous commit.
+
 2002-07-14  Maxx Cao  <maxx cao sun com>
 
 	** For bug #45826
Index: e-msg-composer-attachment-bar.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer-attachment-bar.c,v
retrieving revision 1.67.4.1
diff -u -r1.67.4.1 e-msg-composer-attachment-bar.c
--- e-msg-composer-attachment-bar.c	15 Jul 2003 06:03:31 -0000	1.67.4.1
+++ e-msg-composer-attachment-bar.c	17 Jul 2003 05:18:20 -0000
@@ -619,7 +619,7 @@
 	EMsgComposerAttachmentBar *bar = E_MSG_COMPOSER_ATTACHMENT_BAR (widget);
 	GnomeIconList *icon_list = GNOME_ICON_LIST (widget);
 	GList *selection = gnome_icon_list_get_selection (icon_list);
-	GtkMenu *menu;
+	GtkWidget *menu;
 
 	if (selection==NULL)
 		menu = get_context_menu (bar);
@@ -627,7 +627,7 @@
 		menu = get_icon_context_menu (bar);
 
 	gnome_popup_menu_do_popup (menu, popup_menu_placement_callback, 
-				   (gpointer)widget, NULL, (gpointer)widget, NULL);
+				   widget, NULL, widget, NULL);
 
 	return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]