diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ephy-tabs-menu.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,11 @@ 2007-01-28 Christian Persch <chpe@svn.gnome.org> + * src/ephy-tabs-menu.c: (sync_active_tab): + + Make this a regular check, not g_return_if_fail. + +2007-01-28 Christian Persch <chpe@svn.gnome.org> + * data/default-prefs-common.js: Set bidi caret movement pref to mimick gtk widgets. diff --git a/src/ephy-tabs-menu.c b/src/ephy-tabs-menu.c index 804235cc7..0ae78b49e 100644 --- a/src/ephy-tabs-menu.c +++ b/src/ephy-tabs-menu.c @@ -240,11 +240,9 @@ sync_active_tab (EphyWindow *window, GtkAction *action; tab = ephy_window_get_active_tab (window); + if (tab == NULL) return; LOG ("active tab is tab %p", tab); - - g_return_if_fail (tab != NULL); - if (tab == NULL) return; action = g_object_get_data (G_OBJECT (tab), DATA_KEY); /* happens initially, since the ::active-tab comes before |