[gtk+/gtk-2-90: 61/158] Remove deprecated GtkCellRenderer function
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 61/158] Remove deprecated GtkCellRenderer function
- Date: Thu, 11 Mar 2010 02:48:41 +0000 (UTC)
commit bd5804a4fcb5bf03ee4d92c1a46e137372a06231
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 8fa406d..8fb3c0b 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -590,9 +590,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 b55b098..6093719 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]