[anjuta] sourceview: don't use deprecated gtk_source_view_set_mark_category_pixbuf ()



commit 12d571aaf9934d508ebf0fcf95392e437e18671e
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Mon Sep 21 20:00:41 2009 +0200

    sourceview: don't use deprecated gtk_source_view_set_mark_category_pixbuf ()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=596007

 plugins/sourceview/sourceview.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plugins/sourceview/sourceview.c b/plugins/sourceview/sourceview.c
index 4ba83ab..263b0a8 100644
--- a/plugins/sourceview/sourceview.c
+++ b/plugins/sourceview/sourceview.c
@@ -119,15 +119,15 @@ static void sourceview_create_markers(Sourceview* sv)
 	
 	if ((pixbuf = gdk_pixbuf_new_from_file (PACKAGE_PIXMAPS_DIR"/"MARKER_PIXMAP_BOOKMARK, NULL)))
 	{
-		gtk_source_view_set_mark_category_pixbuf (view, 
-			marker_types[IANJUTA_MARKABLE_BOOKMARK], pixbuf);
+		gtk_source_view_set_mark_category_icon_from_pixbuf (view, 
+		    marker_types[IANJUTA_MARKABLE_BOOKMARK], pixbuf);
 		gtk_source_view_set_mark_category_priority (view, marker_types [IANJUTA_MARKABLE_BOOKMARK],
 											 IANJUTA_MARKABLE_BOOKMARK);
 		g_object_unref (pixbuf);
 	}
 	if ((pixbuf = gdk_pixbuf_new_from_file (PACKAGE_PIXMAPS_DIR"/"MARKER_PIXMAP_BREAKPOINT_DISABLED, NULL)))
 	{
-		gtk_source_view_set_mark_category_pixbuf (view, 
+		gtk_source_view_set_mark_category_icon_from_pixbuf (view, 
 			marker_types[IANJUTA_MARKABLE_BREAKPOINT_DISABLED], pixbuf);
 		gtk_source_view_set_mark_category_priority (view, marker_types [IANJUTA_MARKABLE_BREAKPOINT_DISABLED],
 											 IANJUTA_MARKABLE_BREAKPOINT_DISABLED);
@@ -136,7 +136,7 @@ static void sourceview_create_markers(Sourceview* sv)
 	}
 	if ((pixbuf = gdk_pixbuf_new_from_file (PACKAGE_PIXMAPS_DIR"/"MARKER_PIXMAP_BREAKPOINT_ENABLED, NULL)))
 	{
-		gtk_source_view_set_mark_category_pixbuf (view, 
+		gtk_source_view_set_mark_category_icon_from_pixbuf (view, 
 			marker_types[IANJUTA_MARKABLE_BREAKPOINT_ENABLED], pixbuf);
 		gtk_source_view_set_mark_category_priority (view, marker_types [IANJUTA_MARKABLE_BREAKPOINT_ENABLED],
 											 IANJUTA_MARKABLE_BREAKPOINT_ENABLED);
@@ -144,7 +144,7 @@ static void sourceview_create_markers(Sourceview* sv)
 	}
 	if ((pixbuf = gdk_pixbuf_new_from_file (PACKAGE_PIXMAPS_DIR"/"MARKER_PIXMAP_PROGRAM_COUNTER, NULL)))
 	{
-		gtk_source_view_set_mark_category_pixbuf (view, 
+		gtk_source_view_set_mark_category_icon_from_pixbuf (view, 
 			marker_types[IANJUTA_MARKABLE_PROGRAM_COUNTER], pixbuf);
 		gtk_source_view_set_mark_category_priority (view, marker_types [IANJUTA_MARKABLE_PROGRAM_COUNTER],
 											 IANJUTA_MARKABLE_PROGRAM_COUNTER);
@@ -152,7 +152,7 @@ static void sourceview_create_markers(Sourceview* sv)
 	}
 	if ((pixbuf = gdk_pixbuf_new_from_file (PACKAGE_PIXMAPS_DIR"/"MARKER_PIXMAP_LINEMARKER, NULL)))
 	{
-		gtk_source_view_set_mark_category_pixbuf (view, 
+		gtk_source_view_set_mark_category_icon_from_pixbuf (view, 
 			marker_types[IANJUTA_MARKABLE_LINEMARKER], pixbuf);
 		gtk_source_view_set_mark_category_priority (view, marker_types [IANJUTA_MARKABLE_LINEMARKER],
 											 IANJUTA_MARKABLE_LINEMARKER);



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