Fix a combo refactor regression
https://bugzilla.gnome.org/show_bug.cgi?id=639792
This commit is contained in:
@ -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)
|
||||||
{
|
{
|
||||||
@ -1645,8 +1645,8 @@ _gtk_tree_menu_get_model (GtkTreeMenu *menu)
|
|||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
_gtk_tree_menu_set_root (GtkTreeMenu *menu,
|
_gtk_tree_menu_set_root (GtkTreeMenu *menu,
|
||||||
GtkTreePath *path)
|
GtkTreePath *path)
|
||||||
{
|
{
|
||||||
GtkTreeMenuPrivate *priv;
|
GtkTreeMenuPrivate *priv;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user