Commit 839aeeaf authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

removed this function because there is massive disagreement about how to

2008-09-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
	function because there is massive disagreement about how to
	implement it. Needs some general discussion in the next
	development cycle about how our C api should evolve.

	* gtk/gtk.symbols: changed accordingly.


svn path=/trunk/; revision=21259
parent 5702dbd5
2008-09-02 Michael Natterer <mitch@imendio.com>
* gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
function because there is massive disagreement about how to
implement it. Needs some general discussion in the next
development cycle about how our C api should evolve.
* gtk/gtk.symbols: changed accordingly.
2008-09-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gtk/gtkselection.c:
......
......@@ -4895,7 +4895,6 @@ gtk_widget_trigger_tooltip_query
gtk_widget_unmap
gtk_widget_unparent
gtk_widget_unrealize
gtk_widget_get_allocation
gtk_widget_get_window
#endif
#endif
......
......@@ -10197,25 +10197,6 @@ gtk_widget_get_has_tooltip (GtkWidget *widget)
return has_tooltip;
}
/**
* gtk_widget_get_allocation:
* @widget: a #GtkWidget
*
* Retrieves the widget's allocation.
*
* Return value: widget's allocation
*
* Since: 2.14
*/
GtkAllocation
gtk_widget_get_allocation (GtkWidget *widget)
{
static GtkAllocation allocation = { 0 };
g_return_val_if_fail (GTK_IS_WIDGET (widget), allocation);
return widget->allocation;
}
/**
* gtk_widget_get_window:
* @widget: a #GtkWidget
......
......@@ -574,7 +574,6 @@ GdkWindow * gtk_widget_get_parent_window (GtkWidget *widget);
void gtk_widget_set_child_visible (GtkWidget *widget,
gboolean is_visible);
gboolean gtk_widget_get_child_visible (GtkWidget *widget);
GtkAllocation gtk_widget_get_allocation (GtkWidget *widget);
GdkWindow* gtk_widget_get_window (GtkWidget *widget);
gboolean gtk_widget_child_focus (GtkWidget *widget,
......
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