[gitg/gtk3] Adjust to GtkSourceView API break



commit c44f55e27a90156b8cb6ff2e65fda40191869a3d
Author: Garrett Regier <alias301 gmail com>
Date:   Sun Mar 20 09:32:29 2011 -0700

    Adjust to GtkSourceView API break

 configure.ac                   |    2 +-
 gitg/gitg-diff-line-renderer.c |    2 +-
 gitg/gitg-diff-view.c          |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3190ac7..4d06480 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ AC_CHECK_LIB([m], [sinf])
 
 GLIB_REQUIRED_VERSION=2.26
 GTK_REQUIRED_VERSION=3.0.0
-GTKSOURCEVIEW_REQUIRED_VERSION=2.91.7
+GTKSOURCEVIEW_REQUIRED_VERSION=2.91.8
 
 PKG_CHECK_MODULES(GITG, [
 	gtk+-3.0 >= $GTK_REQUIRED_VERSION
diff --git a/gitg/gitg-diff-line-renderer.c b/gitg/gitg-diff-line-renderer.c
index ee83de2..0547704 100644
--- a/gitg/gitg-diff-line-renderer.c
+++ b/gitg/gitg-diff-line-renderer.c
@@ -48,7 +48,7 @@ struct _GitgDiffLineRendererPrivate
 	glong changed_handler_id;
 };
 
-G_DEFINE_TYPE (GitgDiffLineRenderer, gitg_diff_line_renderer, GTK_TYPE_SOURCE_GUTTER_RENDERER)
+G_DEFINE_TYPE (GitgDiffLineRenderer, gitg_diff_line_renderer, GTK_SOURCE_TYPE_GUTTER_RENDERER)
 
 static void
 gitg_diff_line_renderer_set_property (GObject      *object,
diff --git a/gitg/gitg-diff-view.c b/gitg/gitg-diff-view.c
index 49e71d9..d462857 100644
--- a/gitg/gitg-diff-view.c
+++ b/gitg/gitg-diff-view.c
@@ -142,7 +142,7 @@ struct _GitgDiffViewPrivate
 	GDestroyNotify label_func_destroy_notify;
 };
 
-G_DEFINE_TYPE (GitgDiffView, gitg_diff_view, GTK_TYPE_SOURCE_VIEW)
+G_DEFINE_TYPE (GitgDiffView, gitg_diff_view, GTK_SOURCE_TYPE_VIEW)
 
 static gboolean gitg_diff_view_draw (GtkWidget *widget, cairo_t *cr);
 static guint diff_view_signals[NUM_SIGNALS] = {0,};



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