[gtk-engines/gnome3: 27/27] Remove the last case of deprecated GTK+ api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-engines/gnome3: 27/27] Remove the last case of deprecated GTK+ api
- Date: Thu, 24 Jun 2010 16:00:47 +0000 (UTC)
commit b71c36285f7ed9fe10f3b72e7cd0531b206e44f5
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 24 11:58:43 2010 -0400
Remove the last case of deprecated GTK+ api
By using gtk_container_child_get instead of
gtk_notebook_query_tab_label_packing. See bug 572178.
engines/clearlooks/src/support.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/engines/clearlooks/src/support.c b/engines/clearlooks/src/support.c
index 05af83f..540720d 100644
--- a/engines/clearlooks/src/support.c
+++ b/engines/clearlooks/src/support.c
@@ -285,10 +285,10 @@ clearlooks_get_notebook_tab_position (GtkWidget *widget,
return;
}
- gtk_notebook_query_tab_label_packing (notebook, tab_child,
- &expand,
- NULL, /* don't need fill */
- &pack_type);
+ gtk_container_child_get (GTK_CONTAINER (notebook), tab_child,
+ "expand", &expand,
+ "pack-type", &pack_type,
+ NULL);
if (!found_tabs) {
found_tabs = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]