Fix a combo refactor regression

https://bugzilla.gnome.org/show_bug.cgi?id=639792
This commit is contained in:
Matthias Clasen
2011-01-17 21:55:13 -05:00
parent a29b4c6a51
commit 64c79c15a6

View File

@ -961,7 +961,7 @@ row_reordered_cb (GtkTreeModel *model,
GtkTreeMenuPrivate *priv = menu->priv; GtkTreeMenuPrivate *priv = menu->priv;
gboolean this_menu = FALSE; gboolean this_menu = FALSE;
if (path == NULL && priv->root == NULL) if (path == NULL || priv->root == NULL)
this_menu = TRUE; this_menu = TRUE;
else if (priv->root) else if (priv->root)
{ {