aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-31 20:35:06 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-31 20:35:06 +0800
commit82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd (patch)
treed6932e982346787d8d3b747b3849f57ac0805e52 /widgets/menus
parent3a0a6995426d41b3f7f0deff3b021c1f6c28bd9b (diff)
downloadgsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.gz
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.tar.zst
gsoc2013-evolution-82d8d4dfeabd0cdb61d5417aee19c2aea7f7f7cd.zip
text/e.entry.[ch] text/e-completion.[ch] text/e-text-model-uri.[ch]
2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-timezone-dialog/e-timezone-dialog.c: (get_local_offset), (get_local_timezone), (on_map_visibility_changed), (on_map_button_pressed), (get_zone_from_point), (e_timezone_dialog_set_timezone), (on_combo_changed): * menus/gal-view-factory.c: (gal_view_factory_get_title): * text/Makefile.am: * text/e-text.c: (e_text_event), (popup_targets_received), (next_word), (find_offset_into_line), (_get_position), (e_text_class_init): * text/e.entry.[ch] * text/e-completion.[ch] * text/e-text-model-uri.[ch] * text/e-completion-view.[ch] * text/e-completion-callbacks.[ch] * text/e-completion-match.[ch] * text/e-table-text-model.[ch]: Remove all of these. They are now unused. Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of function declarations svn path=/trunk/; revision=34468
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-view-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/menus/gal-view-factory.c b/widgets/menus/gal-view-factory.c
index c92053cd41..b570e3491b 100644
--- a/widgets/menus/gal-view-factory.c
+++ b/widgets/menus/gal-view-factory.c
@@ -42,8 +42,8 @@ d(static gint depth = 0;)
const char *
gal_view_factory_get_title (GalViewFactory *factory)
{
- g_return_val_if_fail (factory != NULL, 0);
- g_return_val_if_fail (GAL_IS_VIEW_FACTORY (factory), 0);
+ g_return_val_if_fail (factory != NULL, NULL);
+ g_return_val_if_fail (GAL_IS_VIEW_FACTORY (factory), NULL);
if (GAL_VIEW_FACTORY_GET_CLASS (factory)->get_title)
return GAL_VIEW_FACTORY_GET_CLASS (factory)->get_title (factory);