Commit 970a1430 authored by Sven Herzberg's avatar Sven Herzberg Committed by Sven Herzberg

Reviewed by Johan Dahlin.

2008-01-25  Sven Herzberg  <sven@imendio.com>

	Reviewed by Johan Dahlin.

	* gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
	this is called with something that's not a GtkUIManager


svn path=/trunk/; revision=19395
parent 3d5b7c20
2008-01-25 Sven Herzberg <sven@imendio.com>
Reviewed by Johan Dahlin.
* gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
this is called with something that's not a GtkUIManager
2008-01-24 Johan Dahlin <johan@gnome.org>
* gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
......
......@@ -1850,6 +1850,8 @@ void
gtk_ui_manager_remove_ui (GtkUIManager *self,
guint merge_id)
{
g_return_if_fail (GTK_IS_UI_MANAGER (self));
g_node_traverse (self->private_data->root_node,
G_POST_ORDER, G_TRAVERSE_ALL, -1,
remove_ui, GUINT_TO_POINTER (merge_id));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment