[genius] Tue Feb 02 21:42:42 2010 Jiri (George) Lebl <jirka 5z com>



commit 59ca170bdea7d43cef12760049de6b1f5e6f0705
Author: Jiri (George) Lebl <jirka 5z com>
Date:   Tue Feb 2 21:42:47 2010 -0600

    Tue Feb 02 21:42:42 2010  Jiri (George) Lebl <jirka 5z com>
    
    	* src/gnome-genius.c: fix compilation when gtksourceview is disabled

 ChangeLog          |    4 ++++
 src/gnome-genius.c |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7f62397..c11318e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Feb 02 21:42:42 2010  Jiri (George) Lebl <jirka 5z com>
+
+	* src/gnome-genius.c: fix compilation when gtksourceview is disabled
+
 Tue Feb 02 13:30:44 2010  Jiri (George) Lebl <jirka 5z com>
 
 	* src/graphing.c: Allow changing variable names.  Either in the GUI
diff --git a/src/gnome-genius.c b/src/gnome-genius.c
index 59a2039..fde91fe 100644
--- a/src/gnome-genius.c
+++ b/src/gnome-genius.c
@@ -307,6 +307,7 @@ static GtkActionEntry entries[] = {
     N_("_Quit"), "<control>Q",
     N_("Quit"),
     G_CALLBACK (quitapp) },
+#ifdef HAVE_GTKSOURCEVIEW
   { "Undo", GTK_STOCK_UNDO,
     N_("_Undo"), "<control>Z",
     N_("Undo the last action"),
@@ -315,6 +316,7 @@ static GtkActionEntry entries[] = {
     N_("_Redo"), "<shift><control>Z",
     N_("Redo the undone action"),
     G_CALLBACK (redo_callback) },
+#endif
   { "Cut", GTK_STOCK_CUT,
     N_("Cu_t"), "<control>X",
     N_("Cut the selection"),



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