Permalink
Browse files

Don't use gtk_widget_hide_all(), deprecated in 2.24

  • Loading branch information...
1 parent 926744b commit 49f6ebbd0a3eb4967c6a7a50771573a42b5bf6cc @b4n b4n committed Sep 11, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/build.c
View
@@ -1614,7 +1614,7 @@ void build_menu_update(GeanyDocument *doc)
vis = FALSE;
}
else
- gtk_widget_hide_all(menu_items.menu_item[GBG_FIXED][bs->build_cmd]);
+ gtk_widget_hide(menu_items.menu_item[GBG_FIXED][bs->build_cmd]);
break;
case MENU_NEXT_ERROR:
case MENU_PREV_ERROR:
@@ -1658,7 +1658,7 @@ void build_menu_update(GeanyDocument *doc)
vis |= TRUE;
}
else
- gtk_widget_hide_all(menu_item);
+ gtk_widget_hide(menu_item);
}
else
{
@@ -1686,7 +1686,7 @@ void build_menu_update(GeanyDocument *doc)
vis |= TRUE;
}
else
- gtk_widget_hide_all(menu_item);
+ gtk_widget_hide(menu_item);
}
}
}

0 comments on commit 49f6ebb

Please sign in to comment.