aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-toolbars-model.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-09 07:43:31 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-09 07:43:31 +0800
commit132d798d18efdf386d7e74c505b16941406cbd01 (patch)
treedc17672b2934915a8ba47f50c6fa29a1f8014c28 /lib/egg/egg-toolbars-model.c
parent3cf2d7394d21eb2a65be8e6b269d8754e0157b52 (diff)
downloadgsoc2013-epiphany-132d798d18efdf386d7e74c505b16941406cbd01.tar
gsoc2013-epiphany-132d798d18efdf386d7e74c505b16941406cbd01.tar.gz
gsoc2013-epiphany-132d798d18efdf386d7e74c505b16941406cbd01.tar.bz2
gsoc2013-epiphany-132d798d18efdf386d7e74c505b16941406cbd01.tar.lz
gsoc2013-epiphany-132d798d18efdf386d7e74c505b16941406cbd01.tar.xz
gsoc2013-epiphany-132d798d18efdf386d7e74c505b16941406cbd01.tar.zst
gsoc2013-epiphany-132d798d18efdf386d7e74c505b16941406cbd01.zip
Check if the dragged item is a separator. Fixes crash when it _is_ a
2004-03-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-toolbar-editor.c: (editor_drag_data_received_cb): Check if the dragged item is a separator. Fixes crash when it _is_ a separator. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_remove_toolbar): Fix logic check for removable toolbar, & instead of &&. * src/ephy-location-action.c: (create_menu_proxy_cb), (connect_proxy), (ephy_location_action_activate): Don't make a proxy menu item for the location entry. Fixes crash when trying to activate its proxy menu item.
Diffstat (limited to 'lib/egg/egg-toolbars-model.c')
-rwxr-xr-xlib/egg/egg-toolbars-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/egg/egg-toolbars-model.c b/lib/egg/egg-toolbars-model.c
index 8e44d9365..0da5cbd69 100755
--- a/lib/egg/egg-toolbars-model.c
+++ b/lib/egg/egg-toolbars-model.c
@@ -585,7 +585,7 @@ egg_toolbars_model_remove_toolbar (EggToolbarsModel *t,
flags = egg_toolbars_model_get_flags (t, position);
- if (!(flags && EGG_TB_MODEL_NOT_REMOVABLE))
+ if (!(flags & EGG_TB_MODEL_NOT_REMOVABLE))
{
node = g_node_nth_child (t->priv->toolbars, position);
g_return_if_fail (node != NULL);