diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 20:24:35 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 20:24:35 +0800 |
commit | e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (patch) | |
tree | 69946f3b8fb0c7cf1a0b73bec4b646a9996e5821 /widgets | |
parent | 1868c9e675073dfa824dc12e1c2fa3cc1929f70b (diff) | |
download | gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.gz gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.bz2 gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.lz gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.xz gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.tar.zst gsoc2013-evolution-e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed.zip |
Fix compiler warnings in calendar.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-filter-bar.h | 12 | ||||
-rw-r--r-- | widgets/table/e-table-extras.c | 8 | ||||
-rw-r--r-- | widgets/table/e-table-extras.h | 8 |
3 files changed, 14 insertions, 14 deletions
diff --git a/widgets/misc/e-filter-bar.h b/widgets/misc/e-filter-bar.h index 6d1b082e0f..4178070405 100644 --- a/widgets/misc/e-filter-bar.h +++ b/widgets/misc/e-filter-bar.h @@ -100,12 +100,12 @@ enum { E_FILTERBAR_ALL_ACCOUNTS_ID = -9 }; -#define E_FILTERBAR_SAVE { N_("_Save Search..."), E_FILTERBAR_SAVE_ID, 0 } -#define E_FILTERBAR_EDIT { N_("_Edit Saved Searches..."), E_FILTERBAR_EDIT_ID, 0 } -#define E_FILTERBAR_ADVANCED { N_("_Advanced Search..."), E_FILTERBAR_ADVANCED_ID, 0 } -#define E_FILTERBAR_ALL_ACCOUNTS { N_("All Accounts"), E_FILTERBAR_ALL_ACCOUNTS_ID, ESB_ITEMTYPE_RADIO } -#define E_FILTERBAR_CURRENT_ACCOUNT { N_("Current Account"), E_FILTERBAR_CURRENT_ACCOUNT_ID, ESB_ITEMTYPE_RADIO } -#define E_FILTERBAR_CURRENT_FOLDER { N_("Current Folder"), E_FILTERBAR_CURRENT_FOLDER_ID, ESB_ITEMTYPE_RADIO } +#define E_FILTERBAR_SAVE { (gchar *) N_("_Save Search..."), E_FILTERBAR_SAVE_ID, 0 } +#define E_FILTERBAR_EDIT { (gchar *) N_("_Edit Saved Searches..."), E_FILTERBAR_EDIT_ID, 0 } +#define E_FILTERBAR_ADVANCED { (gchar *) N_("_Advanced Search..."), E_FILTERBAR_ADVANCED_ID, 0 } +#define E_FILTERBAR_ALL_ACCOUNTS { (gchar *) N_("All Accounts"), E_FILTERBAR_ALL_ACCOUNTS_ID, ESB_ITEMTYPE_RADIO } +#define E_FILTERBAR_CURRENT_ACCOUNT { (gchar *) N_("Current Account"), E_FILTERBAR_CURRENT_ACCOUNT_ID, ESB_ITEMTYPE_RADIO } +#define E_FILTERBAR_CURRENT_FOLDER { (gchar *) N_("Current Folder"), E_FILTERBAR_CURRENT_FOLDER_ID, ESB_ITEMTYPE_RADIO } #define E_FILTERBAR_SEPARATOR { NULL, 0, 0 } #ifdef JUST_FOR_TRANSLATORS diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c index acbd479a43..c2b23f6c3f 100644 --- a/widgets/table/e-table-extras.c +++ b/widgets/table/e-table-extras.c @@ -219,7 +219,7 @@ e_table_extras_add_compare (ETableExtras *extras, GCompareFunc e_table_extras_get_compare (ETableExtras *extras, - char *id) + const gchar *id) { return (GCompareFunc) g_hash_table_lookup(extras->compares, id); } @@ -234,14 +234,14 @@ e_table_extras_add_search (ETableExtras *extras, ETableSearchFunc e_table_extras_get_search (ETableExtras *extras, - char *id) + const gchar *id) { return g_hash_table_lookup(extras->searches, id); } void e_table_extras_add_pixbuf (ETableExtras *extras, - char *id, + const gchar *id, GdkPixbuf *pixbuf) { if (pixbuf) @@ -251,7 +251,7 @@ e_table_extras_add_pixbuf (ETableExtras *extras, GdkPixbuf * e_table_extras_get_pixbuf (ETableExtras *extras, - char *id) + const gchar *id) { return g_hash_table_lookup(extras->pixbufs, id); } diff --git a/widgets/table/e-table-extras.h b/widgets/table/e-table-extras.h index 9ab8bc2395..e096e516f4 100644 --- a/widgets/table/e-table-extras.h +++ b/widgets/table/e-table-extras.h @@ -63,19 +63,19 @@ void e_table_extras_add_compare (ETableExtras *extras, const gchar *id, GCompareFunc compare); GCompareFunc e_table_extras_get_compare (ETableExtras *extras, - char *id); + const gchar *id); void e_table_extras_add_search (ETableExtras *extras, const gchar *id, ETableSearchFunc search); ETableSearchFunc e_table_extras_get_search (ETableExtras *extras, - char *id); + const gchar *id); void e_table_extras_add_pixbuf (ETableExtras *extras, - char *id, + const gchar *id, GdkPixbuf *pixbuf); GdkPixbuf *e_table_extras_get_pixbuf (ETableExtras *extras, - char *id); + const gchar *id); G_END_DECLS |