GTK+ branched

2009-04-17 Thread Matthias Clasen
I've just created a stable gtk-2-16 branch. Future 2.16.x releases will be made off that branch, while development towards 2.18 proceeds on master. Matthias ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/g

Re: gtk_widget_get_allocation

2009-04-17 Thread Hubert Figuiere
On 04/17/2009 09:02 PM, Cody Russell wrote: This is rather old, but it never came up again after this so I'd like to see what thoughts are about how to implement this in C. It was in 2.13 but removed before 2.14 because of disagreement, but I can't find any public record of the disagreement in g

Re: gtk_widget_get_allocation

2009-04-17 Thread Hubert Figuiere
On 04/17/2009 09:38 PM, Brian J. Tarricone wrote: void gtk_widget_get_allocation (GtkWidget *widget, GtkAllocation *allocation) { g_return_if_fail (GTK_IS_WIDGET (widget) && allocation); memcpy (allocation, &widget->allocation, sizeof(*allocation)); } (

Re: gtk_widget_get_allocation

2009-04-17 Thread Havoc Pennington
Hi, On Fri, Apr 17, 2009 at 9:38 PM, Brian J. Tarricone wrote: > I assume the issue was with returning a non-primitive type by-value and not > as a pointer. Right. The normal way in glib/gtk would definitely be as you say. > void > gtk_widget_get_allocation (GtkWidget     *widget, >            

Re: gtk_widget_get_allocation

2009-04-17 Thread Brian J. Tarricone
Cody Russell wrote: On Thu, 2008-09-25 at 02:02 +0200, Christian Dywan wrote: * gtk_widget_get_allocation Removed in 2.14.1 The prototype of this function was not agreed upon among the core developers. So the decision was deferred to the next Gtk version. It had to be removed before

gtk_widget_get_allocation

2009-04-17 Thread Cody Russell
On Thu, 2008-09-25 at 02:02 +0200, Christian Dywan wrote: > > * gtk_widget_get_allocation > >Removed in 2.14.1 > > The prototype of this function was not agreed upon among the core > developers. So the decision was deferred to the next Gtk version. > It had to be removed before final

Re: Unplugging GtkPlug from GtkSocket

2009-04-17 Thread Ravi Kasibhatla
Sorry, forgot to change the subject line last time. Hi Christian, Thanks for the reply. The exact problem I am facing is the destruction of the Socket & Plug widgets. Currently what I am doing is: - While creating the plugin, I am creating the plug using gtk_plug_new(). I am adding my plugin win

Re: gtk-devel-list Digest, Vol 60, Issue 24

2009-04-17 Thread Ravi Kasibhatla
Hi Christian, Thanks for the reply. The exact problem I am facing is the destruction of the Socket & Plug widgets. Currently what I am doing is: - While creating the plugin, I am creating the plug using gtk_plug_new(). I am adding my plugin windows & controls to the plug. - At the time of deletio