[gtksourceview] Remove deprecated functions.



commit dcc56fe2e0c289e941eb57dd33ab752b25fc9e4d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Jun 12 11:26:02 2010 +0200

    Remove deprecated functions.

 gtksourceview/gtksourceview.c |   53 -----------------------------------------
 gtksourceview/gtksourceview.h |   13 ----------
 2 files changed, 0 insertions(+), 66 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 2de7985..ecf3dc3 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -3608,59 +3608,6 @@ gtk_source_view_set_mark_category_icon_from_stock (GtkSourceView  *view,
 	gtk_widget_queue_draw (GTK_WIDGET (view));
 }
 
-/**
- * gtk_source_view_set_mark_category_pixbuf:
- * @view: a #GtkSourceView.
- * @category: a mark category.
- * @pixbuf: (allow-none): a #GdkPixbuf, or %NULL.
- *
- * Associates a given @pixbuf with a given mark @category.
- * If @pixbuf is %NULL, the pixbuf is unset.
- *
- * Deprecated: Use #gtk_source_view_set_mark_category_icon_from_pixbuf instead.
- *
- * Since: 2.2
- */
-#ifndef GTKSOURCEVIEW_DISABLE_DEPRECATED
-void
-gtk_source_view_set_mark_category_pixbuf (GtkSourceView *view,
-					  const gchar   *category,
-					  GdkPixbuf     *pixbuf)
-{
-	gtk_source_view_set_mark_category_icon_from_pixbuf (view, category, pixbuf);
-}
-#endif
-
-/**
- * gtk_source_view_get_mark_category_pixbuf:
- * @view: a #GtkSourceView.
- * @category: a mark category.
- *
- * Gets the pixbuf which is associated with the given mark @category.
- *
- * Return value: the associated #GdkPixbuf, or %NULL if not found.
- *
- * Since: 2.2
- */
-#ifndef GTKSOURCEVIEW_DISABLE_DEPRECATED
-GdkPixbuf *
-gtk_source_view_get_mark_category_pixbuf (GtkSourceView *view,
-					  const gchar   *category)
-{
-	MarkCategory *cat;
-
-	g_return_val_if_fail (GTK_IS_SOURCE_VIEW (view), NULL);
-	g_return_val_if_fail (category != NULL, NULL);
-
-	cat = g_hash_table_lookup (view->priv->mark_categories, category);
-
-	if (cat != NULL && cat->icon_pixbuf != NULL)
-		return g_object_ref (cat->icon_pixbuf);
-	else
-		return NULL;
-}
-#endif
-
 static void
 set_mark_category_tooltip_func (GtkSourceView   *view,
 				const gchar     *category,
diff --git a/gtksourceview/gtksourceview.h b/gtksourceview/gtksourceview.h
index 43bf1ac..2e3b87c 100644
--- a/gtksourceview/gtksourceview.h
+++ b/gtksourceview/gtksourceview.h
@@ -192,13 +192,6 @@ void 		 gtk_source_view_set_show_line_marks    (GtkSourceView   *view,
 							 gboolean         show);
 gboolean	 gtk_source_view_get_show_line_marks    (GtkSourceView   *view);
 
-#ifndef GTKSOURCEVIEW_DISABLE_DEPRECATED
-void		 gtk_source_view_set_mark_category_pixbuf
-							(GtkSourceView   *view,
-							const gchar      *category,
-							GdkPixbuf        *pixbuf) G_GNUC_DEPRECATED;
-#endif
-
 void             gtk_source_view_set_mark_category_icon_from_pixbuf
 							(GtkSourceView   *view,
 							 const gchar     *category,
@@ -214,12 +207,6 @@ void             gtk_source_view_set_mark_category_icon_from_icon_name
 							 const gchar     *category,
 							 const gchar     *name);
 
-#ifndef GTKSOURCEVIEW_DISABLE_DEPRECATED
-GdkPixbuf	*gtk_source_view_get_mark_category_pixbuf
-							(GtkSourceView   *view,
-				       			 const gchar     *category) G_GNUC_DEPRECATED;
-#endif
-
 void             gtk_source_view_set_mark_category_background
 							(GtkSourceView   *view,
 							 const gchar     *category,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]