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
+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:
gtk_widget_unmap
gtk_widget_unparent
gtk_widget_unrealize
-gtk_widget_get_allocation
gtk_widget_get_window
#endif
#endif
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
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,