aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selector.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2004-01-25 23:47:27 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-01-25 23:47:27 +0800
commitc689c8ff99d433e32e43c33ff3d18d068b989962 (patch)
treed3a86d15b48e2789098b1f58b0e2fc5c2ea1dc0e /mail/em-folder-selector.c
parenta960914290eb999976a5ed08fab9d9d08f9e57d9 (diff)
downloadgsoc2013-evolution-c689c8ff99d433e32e43c33ff3d18d068b989962.tar.gz
gsoc2013-evolution-c689c8ff99d433e32e43c33ff3d18d068b989962.tar.zst
gsoc2013-evolution-c689c8ff99d433e32e43c33ff3d18d068b989962.zip
Cast the name entry to a GtkWidget to avoid a compiler warning Grab focus
2004-01-25 Rodney Dawes <dobey@ximian.com> * em-folder-selector.c (em_folder_selector_create_new): Cast the name entry to a GtkWidget to avoid a compiler warning * em-folder-tree.c (emft_popup_new_folder): Grab focus on the name entry when we show the dialog (#53089) Fixes #53089 svn path=/trunk/; revision=24423
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r--mail/em-folder-selector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index f973cc2dc3..855de2f174 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -263,7 +263,7 @@ em_folder_selector_create_new (EMFolderTree *emft, guint32 flags, const char *ti
w = gtk_label_new_with_mnemonic (_("Folder _name:"));
gtk_box_pack_start ((GtkBox *) hbox, w, FALSE, FALSE, 6);
emfs->name_entry = (GtkEntry *) gtk_entry_new ();
- gtk_label_set_mnemonic_widget (GTK_LABEL (w), emfs->name_entry);
+ gtk_label_set_mnemonic_widget (GTK_LABEL (w), (GtkWidget *) emfs->name_entry);
g_signal_connect (emfs->name_entry, "changed", G_CALLBACK (emfs_create_name_changed), emfs);
g_signal_connect (emfs->name_entry, "activate", G_CALLBACK (emfs_create_name_activate), emfs);
gtk_box_pack_start ((GtkBox *) hbox, (GtkWidget *) emfs->name_entry, TRUE, FALSE, 6);