[gtk+] Add deprecation guards for gtk_cell_renderer_get_size()
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add deprecation guards for gtk_cell_renderer_get_size()
- Date: Sun, 19 Sep 2010 19:55:54 +0000 (UTC)
commit 743202261a8fad2b2ca9009fec9cb5e7d6f82be7
Author: Javier Jardón <jjardon gnome org>
Date: Sun Sep 19 17:46:13 2010 +0200
Add deprecation guards for gtk_cell_renderer_get_size()
gtk/gtk.symbols | 2 ++
gtk/gtkcellrenderer.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index b6aaed1..6f29e8d 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -589,7 +589,9 @@ gtk_cell_renderer_get_alignment
gtk_cell_renderer_get_fixed_size
gtk_cell_renderer_get_padding
gtk_cell_renderer_get_sensitive
+#ifndef GTK_DISABLE_DEPRECATED
gtk_cell_renderer_get_size
+#endif
gtk_cell_renderer_get_type G_GNUC_CONST
gtk_cell_renderer_get_visible
gtk_cell_renderer_render
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index 837b7ae..51a1b47 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -111,6 +111,7 @@ struct _GtkCellRendererClass
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_cell_renderer_get_size (GtkCellRenderer *cell,
GtkWidget *widget,
const GdkRectangle *cell_area,
@@ -118,6 +119,7 @@ void gtk_cell_renderer_get_size (GtkCellRenderer *cell,
gint *y_offset,
gint *width,
gint *height);
+#endif
void gtk_cell_renderer_render (GtkCellRenderer *cell,
GdkWindow *window,
GtkWidget *widget,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]