[gtk+/gtk-2-90: 61/127] Remove deprecated GtkCellRenderer function
- From: Javier Jardón <jjardon src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 61/127] Remove deprecated GtkCellRenderer function
- Date: Tue, 17 Nov 2009 19:29:53 +0000 (UTC)
commit 69e6b8a18b38117337b068643b6e5dd5dfd8f0de
Author: Javier Jardón <javierjc1982 gmail com>
Date: Thu Oct 8 17:45:53 2009 +0200
Remove deprecated GtkCellRenderer function
gtk/gtk.symbols | 3 ---
gtk/gtkcellrenderer.c | 22 ----------------------
gtk/gtkcellrenderer.h | 7 ++-----
3 files changed, 2 insertions(+), 30 deletions(-)
---
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index 525f021..2e374d9 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -587,9 +587,6 @@ gtk_cell_layout_set_cell_data_func
#if IN_HEADER(__GTK_CELL_RENDERER_H__)
#if IN_FILE(__GTK_CELL_RENDERER_C__)
gtk_cell_renderer_activate
-#ifndef GTK_DISABLE_DEPRECATED
-gtk_cell_renderer_editing_canceled
-#endif
gtk_cell_renderer_get_alignment
gtk_cell_renderer_get_fixed_size
gtk_cell_renderer_get_padding
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index 0d3091e..8a86216 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -940,28 +940,6 @@ gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell)
}
/**
- * gtk_cell_renderer_editing_canceled:
- * @cell: A #GtkCellRenderer
- *
- * Causes the cell renderer to emit the #GtkCellRenderer::editing-canceled
- * signal.
- *
- * This function is for use only by implementations of cell renderers that
- * need to notify the client program that an editing process was canceled
- * and the changes were not committed.
- *
- * Since: 2.4
- * Deprecated: 2.6: Use gtk_cell_renderer_stop_editing() instead
- **/
-void
-gtk_cell_renderer_editing_canceled (GtkCellRenderer *cell)
-{
- g_return_if_fail (GTK_IS_CELL_RENDERER (cell));
-
- gtk_cell_renderer_stop_editing (cell, TRUE);
-}
-
-/**
* gtk_cell_renderer_stop_editing:
* @cell: A #GtkCellRenderer
* @canceled: %TRUE if the editing has been canceled
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index aece202..e74be26 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -183,11 +183,8 @@ void gtk_cell_renderer_set_sensitive (GtkCellRenderer *cell,
gboolean gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell);
/* For use by cell renderer implementations only */
-#ifndef GTK_DISABLE_DEPRECATED
-void gtk_cell_renderer_editing_canceled (GtkCellRenderer *cell);
-#endif
-void gtk_cell_renderer_stop_editing (GtkCellRenderer *cell,
- gboolean canceled);
+void gtk_cell_renderer_stop_editing (GtkCellRenderer *cell,
+ gboolean canceled);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]