[gedit-plugins] Bump gtksourceview to 2.9.1 and use the non deprecated func.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Bump gtksourceview to 2.9.1 and use the non deprecated func.
- Date: Sat, 17 Oct 2009 23:42:34 +0000 (UTC)
commit f1e2d1cd38086f3379504aa32f9abc6ce43fbbef
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Oct 18 01:41:36 2009 +0200
Bump gtksourceview to 2.9.1 and use the non deprecated func.
configure.ac | 2 +-
plugins/bookmarks/gedit-bookmarks-plugin.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8fb4c8c..7f0f725 100644
--- a/configure.ac
+++ b/configure.ac
@@ -65,7 +65,7 @@ PKG_CHECK_MODULES(GEDIT, [
gio-2.0 >= 2.16.0
gtk+-2.0 >= 2.13.0
gconf-2.0 >= 1.1.11
- gtksourceview-2.0 >= 2.5.1
+ gtksourceview-2.0 >= 2.9.1
gedit-2.20 >= 2.25.4
])
diff --git a/plugins/bookmarks/gedit-bookmarks-plugin.c b/plugins/bookmarks/gedit-bookmarks-plugin.c
index f0b2729..54155d7 100644
--- a/plugins/bookmarks/gedit-bookmarks-plugin.c
+++ b/plugins/bookmarks/gedit-bookmarks-plugin.c
@@ -253,10 +253,10 @@ enable_bookmarks (GeditView *view,
InsertData *data;
GtkTextBuffer *buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
- update_background_color (view);
- gtk_source_view_set_mark_category_pixbuf (GTK_SOURCE_VIEW (view),
- BOOKMARK_CATEGORY,
- pixbuf);
+ update_background_color (view);
+ gtk_source_view_set_mark_category_icon_from_pixbuf (GTK_SOURCE_VIEW (view),
+ BOOKMARK_CATEGORY,
+ pixbuf);
g_object_unref (pixbuf);
gtk_source_view_set_show_line_marks (GTK_SOURCE_VIEW (view), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]