gtk+ r21259 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21259 - in trunk: . gtk
- Date: Tue, 2 Sep 2008 16:06:02 +0000 (UTC)
Author: mitch
Date: Tue Sep 2 16:06:02 2008
New Revision: 21259
URL: http://svn.gnome.org/viewvc/gtk+?rev=21259&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/gtk/gtk.symbols
trunk/gtk/gtkwidget.c
trunk/gtk/gtkwidget.h
Modified: trunk/gtk/gtk.symbols
==============================================================================
--- trunk/gtk/gtk.symbols (original)
+++ trunk/gtk/gtk.symbols Tue Sep 2 16:06:02 2008
@@ -4895,7 +4895,6 @@
gtk_widget_unmap
gtk_widget_unparent
gtk_widget_unrealize
-gtk_widget_get_allocation
gtk_widget_get_window
#endif
#endif
Modified: trunk/gtk/gtkwidget.c
==============================================================================
--- trunk/gtk/gtkwidget.c (original)
+++ trunk/gtk/gtkwidget.c Tue Sep 2 16:06:02 2008
@@ -10198,25 +10198,6 @@
}
/**
- * 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
*
Modified: trunk/gtk/gtkwidget.h
==============================================================================
--- trunk/gtk/gtkwidget.h (original)
+++ trunk/gtk/gtkwidget.h Tue Sep 2 16:06:02 2008
@@ -574,7 +574,6 @@
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]