Commit 03e53fd3 authored by Soeren Sandmann's avatar Soeren Sandmann Committed by Søren Sandmann Pedersen

make _gtk_tool_item_toolbar_reconfigured() an internal function

Wed Jul 30 21:11:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
	an internal function

	* gtk/gtktoolitem.h: remove unused declaration of
	_gtk_tool_item_get_drag_window().
parent dfca5a2a
Wed Jul 30 21:11:13 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
an internal function
* gtk/gtktoolitem.h: remove unused declaration of
_gtk_tool_item_get_drag_window().
Wed Jul 30 17:03:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.[ch]:
......
Wed Jul 30 21:11:13 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
an internal function
* gtk/gtktoolitem.h: remove unused declaration of
_gtk_tool_item_get_drag_window().
Wed Jul 30 17:03:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.[ch]:
......
Wed Jul 30 21:11:13 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
an internal function
* gtk/gtktoolitem.h: remove unused declaration of
_gtk_tool_item_get_drag_window().
Wed Jul 30 17:03:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.[ch]:
......
Wed Jul 30 21:11:13 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
an internal function
* gtk/gtktoolitem.h: remove unused declaration of
_gtk_tool_item_get_drag_window().
Wed Jul 30 17:03:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.[ch]:
......
Wed Jul 30 21:11:13 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
an internal function
* gtk/gtktoolitem.h: remove unused declaration of
_gtk_tool_item_get_drag_window().
Wed Jul 30 17:03:58 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.[ch]:
......
......@@ -160,6 +160,7 @@ Deprecated equivalent of g_object_unref().
</para>
<!-- ##### STRUCT GdkBitmap ##### -->
<para>
An opaque structure representing an offscreen drawable of depth
......@@ -184,3 +185,4 @@ Deprecated equivalent of g_object_unref().
</para>
......@@ -2853,7 +2853,6 @@ gtk_toolbar_get_type
<TITLE>GtkToolItem</TITLE>
GtkToolItem
gtk_tool_item_new
gtk_tool_item_toolbar_reconfigured
gtk_tool_item_set_homogeneous
gtk_tool_item_get_homogeneous
gtk_tool_item_set_expand
......
......@@ -3012,6 +3012,13 @@ Creates a border around the arrows of a #GtkSpinButton. The type of border is de
@Returns:
<!-- ##### FUNCTION gtk_tool_item_toolbar_reconfigured ##### -->
<para>
</para>
@tool_item:
<!-- ##### FUNCTION gtk_trace_referencing ##### -->
<para>
Private: print debugging information while doing a gtk_object_ref() or
......
......@@ -312,9 +312,6 @@ to a #GtkToolbar.
<!-- ##### FUNCTION gtk_toolbar_prepend_element ##### -->
<para>
</para>
:<para>
I
</para>
@toolbar:
......
......@@ -28,14 +28,6 @@ GtkToolItem
@Returns:
<!-- ##### FUNCTION gtk_tool_item_toolbar_reconfigured ##### -->
<para>
</para>
@tool_item:
<!-- ##### FUNCTION gtk_tool_item_set_homogeneous ##### -->
<para>
......
......@@ -742,6 +742,8 @@ Deprecated alias for gtk_window_set_position().
</para>
@icon:
<!-- # Unused Parameters # -->
@pixbuf:
<!-- ##### FUNCTION gtk_window_set_default_icon_from_file ##### -->
......
......@@ -1819,7 +1819,7 @@ gtk_toolbar_reconfigured (GtkToolbar *toolbar)
{
GtkToolItem *item = GTK_TOOL_ITEM (items->data);
gtk_tool_item_toolbar_reconfigured (item);
_gtk_tool_item_toolbar_reconfigured (item);
items = items->next;
}
......@@ -2826,7 +2826,6 @@ gtk_toolbar_append_element (GtkToolbar *toolbar,
/**
* gtk_toolbar_prepend_element:
*
* @toolbar: a #GtkToolbar.
* @type: a value of type #GtkToolbarChildType that determines what @widget will be.
* @widget: a #GtkWidget, or %NULL
......
......@@ -222,7 +222,7 @@ static void
gtk_tool_item_parent_set (GtkWidget *toolitem,
GtkWidget *prev_parent)
{
gtk_tool_item_toolbar_reconfigured (GTK_TOOL_ITEM (toolitem));
_gtk_tool_item_toolbar_reconfigured (GTK_TOOL_ITEM (toolitem));
}
static void
......@@ -490,16 +490,6 @@ gtk_tool_item_get_relief_style (GtkToolItem *tool_item)
return gtk_toolbar_get_relief_style (GTK_TOOLBAR (parent));
}
void
gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item)
{
g_return_if_fail (GTK_IS_TOOL_ITEM (tool_item));
g_signal_emit (tool_item, toolitem_signals[TOOLBAR_RECONFIGURED], 0);
gtk_widget_queue_resize (GTK_WIDGET (tool_item));
}
void
gtk_tool_item_set_expand (GtkToolItem *tool_item,
gboolean expand)
......@@ -744,8 +734,13 @@ gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item,
}
}
GdkWindow *
_gtk_tool_item_get_drag_window (GtkToolItem *tool_item)
void
_gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item)
{
return tool_item->priv->drag_window;
g_return_if_fail (GTK_IS_TOOL_ITEM (tool_item));
g_signal_emit (tool_item, toolitem_signals[TOOLBAR_RECONFIGURED], 0);
gtk_widget_queue_resize (GTK_WIDGET (tool_item));
}
......@@ -63,8 +63,6 @@ struct _GtkToolItemClass
GType gtk_tool_item_get_type (void);
GtkToolItem *gtk_tool_item_new (void);
void gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item);
void gtk_tool_item_set_homogeneous (GtkToolItem *tool_item,
gboolean homogeneous);
gboolean gtk_tool_item_get_homogeneous (GtkToolItem *tool_item);
......@@ -107,7 +105,7 @@ void gtk_tool_item_set_proxy_menu_item (GtkToolItem *tool_item,
GtkWidget *menu_item);
/* internal function */
GdkWindow *_gtk_tool_item_get_drag_window (GtkToolItem *tool_item);
void _gtk_tool_item_toolbar_reconfigured (GtkToolItem *tool_item);
#endif /* __GTK_TOOL_ITEM_H__ */
......@@ -1051,7 +1051,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
* private_data->pending_status = context->suggested_action;
* gtk_drag_get_data (widget, context, target, time);
* }
*
*
* return TRUE;
* }
*
......
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