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
This commit is contained in:
Michael Natterer 2008-09-02 16:06:02 +00:00 committed by Michael Natterer
parent 5702dbd586
commit 839aeeafa8
4 changed files with 9 additions and 21 deletions

View File

@ -1,3 +1,12 @@
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> 2008-09-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gtk/gtkselection.c: * gtk/gtkselection.c:

View File

@ -4895,7 +4895,6 @@ gtk_widget_trigger_tooltip_query
gtk_widget_unmap gtk_widget_unmap
gtk_widget_unparent gtk_widget_unparent
gtk_widget_unrealize gtk_widget_unrealize
gtk_widget_get_allocation
gtk_widget_get_window gtk_widget_get_window
#endif #endif
#endif #endif

View File

@ -10197,25 +10197,6 @@ gtk_widget_get_has_tooltip (GtkWidget *widget)
return has_tooltip; 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: * gtk_widget_get_window:
* @widget: a #GtkWidget * @widget: a #GtkWidget

View File

@ -574,7 +574,6 @@ GdkWindow * gtk_widget_get_parent_window (GtkWidget *widget);
void gtk_widget_set_child_visible (GtkWidget *widget, void gtk_widget_set_child_visible (GtkWidget *widget,
gboolean is_visible); gboolean is_visible);
gboolean gtk_widget_get_child_visible (GtkWidget *widget); gboolean gtk_widget_get_child_visible (GtkWidget *widget);
GtkAllocation gtk_widget_get_allocation (GtkWidget *widget);
GdkWindow* gtk_widget_get_window (GtkWidget *widget); GdkWindow* gtk_widget_get_window (GtkWidget *widget);
gboolean gtk_widget_child_focus (GtkWidget *widget, gboolean gtk_widget_child_focus (GtkWidget *widget,