Re: [evolution-patches] calendar/gui/: Compiler warning fixes



Evolution is on crack, I did attach the damn patch before :P

On Sat, 2004-05-08 at 00:23 +0800, Trent Lloyd wrote:
> Hi Guys,
> 
> Just a few minor compiling warning fixes.
> 
> Cheers,
> Trent
> 
> -- 
> Trent Lloyd <lathiat bur st>
> Bur.st Networking Inc.
> 
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2308
diff -u -r1.2308 ChangeLog
--- a/calendar/ChangeLog	7 May 2004 04:35:36 -0000	1.2308
+++ b/calendar/ChangeLog	7 May 2004 16:21:32 -0000
@@ -1,3 +1,12 @@
+2004-05-06  Trent Lloyd  <lathiat bur st>
+
+	* gui/dialogs/select-source-dialog.c: Include gtkhbox.h and gtkvbox.h
+	to fix implicit declaration
+	* gui/dialogs/meeting-page.c: (get_current_page) Cast GTK_ENTRY from
+	GTK_COMBO to fix compiler warning
+	* gui/dialogs/cal-prefs-dialog.c: Remove lvalue casts, produces
+	compiler warnings and are not necessary
+
 2004-05-06  Larry Ewing  <lewing ximian com>
 
 	* gui/dialogs/calendar-setup.c (source_to_dialog): use random
Index: calendar/gui/dialogs/cal-prefs-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/cal-prefs-dialog.c,v
retrieving revision 1.37
diff -u -r1.37 cal-prefs-dialog.c
--- a/calendar/gui/dialogs/cal-prefs-dialog.c	15 Apr 2004 14:44:20 -0000	1.37
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c	7 May 2004 16:21:36 -0000
@@ -720,12 +720,12 @@
 					  GTK_BUTTONS_NONE,
 					  _("Are you sure you want to remove this URL?"));
 	
-	(GtkButton *) button = gtk_button_new_from_stock (GTK_STOCK_YES);
+	button = gtk_button_new_from_stock (GTK_STOCK_YES);
 	gtk_button_set_label ((GtkButton *) button, _("Remove"));
 	gtk_dialog_add_action_widget ((GtkDialog *) confirm, (GtkWidget *) button, GTK_RESPONSE_YES);
 	gtk_widget_show ((GtkWidget *) button);
 	
-	(GtkButton *) button = gtk_button_new_from_stock (GTK_STOCK_NO);
+	button = gtk_button_new_from_stock (GTK_STOCK_NO);
 	gtk_button_set_label ((GtkButton *) button, _("Don't Remove"));
 	gtk_dialog_add_action_widget ((GtkDialog *) confirm, 
 				      (GtkWidget *) button, GTK_RESPONSE_NO);
Index: calendar/gui/dialogs/meeting-page.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/dialogs/meeting-page.c,v
retrieving revision 1.80
diff -u -r1.80 meeting-page.c
--- a/calendar/gui/dialogs/meeting-page.c	30 Apr 2004 03:41:03 -0000	1.80
+++ b/calendar/gui/dialogs/meeting-page.c	7 May 2004 16:21:40 -0000
@@ -481,7 +481,7 @@
 	priv->organizer_table = GW ("organizer-table");
 	priv->organizer = GW ("organizer");
 	gtk_combo_set_value_in_list (GTK_COMBO (priv->organizer), FALSE, FALSE);
-	gtk_entry_set_editable(GTK_COMBO(priv->organizer)->entry, FALSE);
+	gtk_entry_set_editable (GTK_ENTRY (GTK_COMBO (priv->organizer)->entry), FALSE);
 
 	/* For showing existing organizers */
 	priv->existing_organizer_table = GW ("existing-organizer-table");


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