aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2004-05-10 22:12:07 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-05-10 22:12:07 +0800
commitb14d9b05bb3a1836083e07482ea0fe9fbfd8cadf (patch)
treefe8d111a32a0c5eb4076d879dfd2e6fdc0d7b8db /calendar/gui/dialogs
parentc353f10796a330fa72bf5b92da4e777917c67e57 (diff)
downloadgsoc2013-evolution-b14d9b05bb3a1836083e07482ea0fe9fbfd8cadf.tar.gz
gsoc2013-evolution-b14d9b05bb3a1836083e07482ea0fe9fbfd8cadf.tar.zst
gsoc2013-evolution-b14d9b05bb3a1836083e07482ea0fe9fbfd8cadf.zip
Include gtkhbox.h and gtkvbox.h to fix implicit declaration Cast GTK_ENTRY
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 svn path=/trunk/; revision=25840
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c4
-rw-r--r--calendar/gui/dialogs/meeting-page.c2
2 files changed, 3 insertions, 3 deletions
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");