From b14d9b05bb3a1836083e07482ea0fe9fbfd8cadf Mon Sep 17 00:00:00 2001 From: Trent Lloyd Date: Mon, 10 May 2004 14:12:07 +0000 Subject: Include gtkhbox.h and gtkvbox.h to fix implicit declaration Cast GTK_ENTRY 2004-05-10 Trent Lloyd * 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 svn path=/trunk/; revision=25840 --- calendar/gui/dialogs/cal-prefs-dialog.c | 4 ++-- calendar/gui/dialogs/meeting-page.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui') 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"); -- cgit v1.2.3