aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/test-dropdown-button.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:07:23 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:07:23 +0800
commit04a042ee01dba30ba231c48ec7d172b6be1a6fca (patch)
tree080e3ad2fe16da7e3fb057e1baa0b3734a4e4d2f /widgets/misc/test-dropdown-button.c
parenta6c9a55391c484038a98f0326798949c52621c50 (diff)
downloadgsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.gz
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.bz2
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.lz
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.xz
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.tar.zst
gsoc2013-evolution-04a042ee01dba30ba231c48ec7d172b6be1a6fca.zip
Fix compiler warnings in widgets.
Diffstat (limited to 'widgets/misc/test-dropdown-button.c')
-rw-r--r--widgets/misc/test-dropdown-button.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/misc/test-dropdown-button.c b/widgets/misc/test-dropdown-button.c
index f0a7ca4d0e..51143ff560 100644
--- a/widgets/misc/test-dropdown-button.c
+++ b/widgets/misc/test-dropdown-button.c
@@ -45,25 +45,25 @@ item_activated (GtkWidget *widget,
}
static GnomeUIInfo ui_info[] = {
- { GNOME_APP_UI_ITEM, "_New", "Create a new file", item_activated, "file/new", NULL,
+ { GNOME_APP_UI_ITEM, "_New", "Create a new file", item_activated, (gpointer) "file/new", NULL,
GNOME_APP_PIXMAP_STOCK, GTK_STOCK_NEW, 'n', GDK_CONTROL_MASK, NULL },
- { GNOME_APP_UI_ITEM, "_Open...", "Open an existing file", item_activated, "file/open", NULL,
+ { GNOME_APP_UI_ITEM, "_Open...", "Open an existing file", item_activated, (gpointer) "file/open", NULL,
GNOME_APP_PIXMAP_STOCK, GTK_STOCK_OPEN, 'o', GDK_CONTROL_MASK, NULL },
- { GNOME_APP_UI_ITEM, "_Save", "Save the current file", item_activated, "file/save", NULL,
+ { GNOME_APP_UI_ITEM, "_Save", "Save the current file", item_activated, (gpointer) "file/save", NULL,
GNOME_APP_PIXMAP_STOCK, GTK_STOCK_SAVE, 's', GDK_CONTROL_MASK, NULL },
- { GNOME_APP_UI_ITEM, "Save _as...", "Save the current file with a new name", item_activated, "file/save as", NULL,
+ { GNOME_APP_UI_ITEM, "Save _as...", "Save the current file with a new name", item_activated, (gpointer) "file/save as", NULL,
GNOME_APP_PIXMAP_STOCK, GTK_STOCK_SAVE_AS, 0, 0, NULL },
GNOMEUIINFO_SEPARATOR,
- { GNOME_APP_UI_ITEM, "_Print...", "Print the current file", item_activated, "file/print", NULL,
+ { GNOME_APP_UI_ITEM, "_Print...", "Print the current file", item_activated, (gpointer) "file/print", NULL,
GNOME_APP_PIXMAP_STOCK, GTK_STOCK_PRINT, 'p', GDK_CONTROL_MASK, NULL },
GNOMEUIINFO_SEPARATOR,
- { GNOME_APP_UI_ITEM, "_Close", "Close the current file", item_activated, "file/close", NULL,
+ { GNOME_APP_UI_ITEM, "_Close", "Close the current file", item_activated, (gpointer) "file/close", NULL,
GNOME_APP_PIXMAP_STOCK, GTK_STOCK_CLOSE, 0, 0, NULL },
- { GNOME_APP_UI_ITEM, "E_xit", "Exit the program", item_activated, "file/exit", NULL,
+ { GNOME_APP_UI_ITEM, "E_xit", "Exit the program", item_activated, (gpointer) "file/exit", NULL,
GNOME_APP_PIXMAP_STOCK, GTK_STOCK_QUIT, 'q', GDK_CONTROL_MASK, NULL },
GNOMEUIINFO_END
};