[gtk+] Add deprecation guards for gtk_widget_get_child_requisition()
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add deprecation guards for gtk_widget_get_child_requisition()
- Date: Mon, 13 Sep 2010 20:37:35 +0000 (UTC)
commit 97ffc36540690f98ba6e6d1e6f5499a26b08c46c
Author: Javier Jardón <jjardon gnome org>
Date: Mon Sep 13 22:11:42 2010 +0200
Add deprecation guards for gtk_widget_get_child_requisition()
gtk/gtk.symbols | 2 ++
gtk/gtkwidget.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index a89347d..fa66e6a 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -4211,7 +4211,9 @@ gtk_widget_get_accessible
gtk_widget_get_allocation
gtk_widget_get_ancestor
gtk_widget_get_app_paintable
+#ifndef GTK_DISABLE_DEPRECATED
gtk_widget_get_child_requisition
+#endif
gtk_widget_get_child_visible
gtk_widget_get_clipboard
gtk_widget_get_colormap
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 8efdcd6..59e3a38 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -550,8 +550,10 @@ void gtk_widget_size_request (GtkWidget *widget,
GtkRequisition *requisition);
void gtk_widget_size_allocate (GtkWidget *widget,
GtkAllocation *allocation);
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_widget_get_child_requisition (GtkWidget *widget,
GtkRequisition *requisition);
+#endif
void gtk_widget_add_accelerator (GtkWidget *widget,
const gchar *accel_signal,
GtkAccelGroup *accel_group,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]