[gtk+] Add deprecation guards for gtk_cell_view_get_size_of_row()
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add deprecation guards for gtk_cell_view_get_size_of_row()
- Date: Tue, 14 Sep 2010 18:40:49 +0000 (UTC)
commit ab4ba69cc8661a5fb3311053a25cb4ff70cf2636
Author: Javier Jardón <jjardon gnome org>
Date: Tue Sep 14 20:40:15 2010 +0200
Add deprecation guards for gtk_cell_view_get_size_of_row()
gtk/gtk.symbols | 2 ++
gtk/gtkcellview.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index c69b315..05ff660 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -684,7 +684,9 @@ gtk_cell_view_get_desired_height_for_width_of_row
gtk_cell_view_get_desired_width_of_row
gtk_cell_view_get_displayed_row
gtk_cell_view_get_model
+#ifndef GTK_DISABLE_DEPRECATED
gtk_cell_view_get_size_of_row
+#endif
gtk_cell_view_get_type G_GNUC_CONST
gtk_cell_view_new
gtk_cell_view_new_with_markup
diff --git a/gtk/gtkcellview.h b/gtk/gtkcellview.h
index b2853e3..bb94fc2 100644
--- a/gtk/gtkcellview.h
+++ b/gtk/gtkcellview.h
@@ -66,9 +66,11 @@ GtkTreeModel *gtk_cell_view_get_model (GtkCellView *cell_v
void gtk_cell_view_set_displayed_row (GtkCellView *cell_view,
GtkTreePath *path);
GtkTreePath *gtk_cell_view_get_displayed_row (GtkCellView *cell_view);
+#ifndef GTK_DISABLE_DEPRECATED
gboolean gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
GtkTreePath *path,
GtkRequisition *requisition);
+#endif
void gtk_cell_view_get_desired_width_of_row(GtkCellView *cell_view,
GtkTreePath *path,
gint *minimum_size,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]