diff options
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.c | 4 | ||||
-rw-r--r-- | calendar/gui/dialogs/meeting-page.c | 2 |
3 files changed, 12 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 914da1c7a8..d370f69003 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2004-05-10 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-07 JP Rosevear <jpr@ximian.com> Fixes #52294 diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index 631aedeab1..7d540fc1c2 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -720,12 +720,12 @@ cal_prefs_dialog_url_remove_clicked (GtkWidget *button, DialogData *dialog_data) 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); diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index 8d52f0fb84..ef45d1a50e 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -481,7 +481,7 @@ get_widgets (MeetingPage *mpage) 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"); |