diff options
author | Michael Natterer <mitch@imendio.com> | 2008-09-02 16:06:02 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-09-02 16:06:02 +0000 |
commit | 839aeeafa8eb6646cc2737da7cf08c3ec1cb94e8 (patch) | |
tree | 3a289fb5da0bb318cce68325dd7acd1eafeda6c0 | |
parent | 5702dbd586d4e4ff5c826e36c457485ff435e333 (diff) | |
download | gtk+-839aeeafa8eb6646cc2737da7cf08c3ec1cb94e8.tar.gz |
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
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | gtk/gtk.symbols | 1 | ||||
-rw-r--r-- | gtk/gtkwidget.c | 19 | ||||
-rw-r--r-- | gtk/gtkwidget.h | 1 |
4 files changed, 9 insertions, 21 deletions
@@ -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> * gtk/gtkselection.c: diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index 295904de21..c0c2e0a941 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -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 diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 6307698f50..597ecd7410 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -10198,25 +10198,6 @@ gtk_widget_get_has_tooltip (GtkWidget *widget) } /** - * 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 * diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index 1545f15888..c73e52bba0 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -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, |