gtk_notebook_set_page -> gtk_notebook_set_current_page
gtk_container_children -> gtk_container_get_children gtk_notebook_set_page -> gtk_notebook_set_current_page gtk_widget_hide_all -> gtk_widget_hide gtk_check_menu_item_set_state -> gtk_check_menu_item_set_active gtk_radio_menu_item_group -> gtk_radio_menu_item_get_group
This commit is contained in:
@@ -113,11 +113,11 @@ public:
|
||||
}
|
||||
|
||||
void PluginsMenu_clear(){
|
||||
GList* lst = g_list_find( gtk_container_children( GTK_CONTAINER( g_plugins_menu ) ), GTK_WIDGET( g_plugins_menu_separator ) );
|
||||
GList* lst = g_list_find( gtk_container_get_children( GTK_CONTAINER( g_plugins_menu ) ), GTK_WIDGET( g_plugins_menu_separator ) );
|
||||
while ( lst->next )
|
||||
{
|
||||
gtk_container_remove( GTK_CONTAINER( g_plugins_menu ), GTK_WIDGET( lst->next->data ) );
|
||||
lst = g_list_find( gtk_container_children( GTK_CONTAINER( g_plugins_menu ) ), GTK_WIDGET( g_plugins_menu_separator ) );
|
||||
lst = g_list_find( gtk_container_get_children( GTK_CONTAINER( g_plugins_menu ) ), GTK_WIDGET( g_plugins_menu_separator ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user