[genius] Tue Nov 10 00:19:56 2009 Jiri (George) Lebl <jirka 5z com>



commit c33aab8a8c3feab840a968f85ef7d12c4d7c48b5
Author: Jiri (George) Lebl <jirka 5z com>
Date:   Tue Nov 10 00:20:00 2009 -0600

    Tue Nov 10 00:19:56 2009  Jiri (George) Lebl <jirka 5z com>
    
    	* configure.in: require gtk/glib 2.12
    
    	* src/gnome-genius.c: use the "new" GtkTooltip api
    
    	* src/eval.c: remove unused function

 ChangeLog          |    8 ++++++++
 NEWS               |    8 ++++++++
 configure.in       |    4 ++--
 src/eval.c         |   13 -------------
 src/gnome-genius.c |   27 +++++++++++----------------
 5 files changed, 29 insertions(+), 31 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 16644b3..e043fb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Tue Nov 10 00:19:56 2009  Jiri (George) Lebl <jirka 5z com>
+
+	* configure.in: require gtk/glib 2.12
+
+	* src/gnome-genius.c: use the "new" GtkTooltip api
+
+	* src/eval.c: remove unused function
+
 Mon Oct 19 15:59:28 2009  Jiri (George) Lebl <jirka 5z com>
 
 	Patches from: Yaakov (Cygwin/X) yselkowitz at users dot sourceforge
diff --git a/NEWS b/NEWS
index f3838da..449d7f5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+Changes to 1.0.8
+
+* Buildfixes for Cygwin and parallel builds (Yaakov)
+* Check events before executing a command line, fixes a race which results in
+  display anomalies on new vte.
+* Documentation updates
+* Require GTK/GLib 2.12 and use the new tooltips API.
+
 Changes to 1.0.7
 
 * SYNTAX: Added a possibility to exactly specify which variables are copied
diff --git a/configure.in b/configure.in
index a0315da..f50fd28 100644
--- a/configure.in
+++ b/configure.in
@@ -14,8 +14,8 @@ dnl ================= Requirements =============================================
 
 VTE_REQUIRED=0.8.19
 LIBGNOMEVFS_REQUIRED=2.0.0
-GTK_REQUIRED=2.10.0
-GLIB_REQUIRED=2.10.0
+GTK_REQUIRED=2.12.0
+GLIB_REQUIRED=2.12.0
 GTKSOURCEVIEW_REQUIRED=0.3.0
 GTKSOURCEVIEW2_REQUIRED=2.0.2
 
diff --git a/src/eval.c b/src/eval.c
index d364989..031bc68 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -6640,19 +6640,6 @@ iter_operator_post (GelCtx *ctx, gboolean *repushed)
 	return TRUE;
 }
 
-static gboolean
-id_on_function_list (GSList *funclist, GelToken *id)
-{
-	GSList *li;
-       
-	for (li = funclist; li != NULL; li = li->next) {
-		GelEFunc *func = li->data;
-		if (func->id == id)
-			return TRUE;
-	}
-	return FALSE;
-}
-
 GSList *
 gel_get_ids_for_extradict (GSList *toklist, GSList *args, GSList *locals, GelETree *n)
 {
diff --git a/src/gnome-genius.c b/src/gnome-genius.c
index 10544e9..934a314 100644
--- a/src/gnome-genius.c
+++ b/src/gnome-genius.c
@@ -112,9 +112,8 @@ GtkUIManager *genius_ui = NULL;
 static GtkWidget *setupdialog = NULL;
 static GtkWidget *term = NULL;
 static GtkWidget *notebook = NULL;
-static GtkTooltips *tips;
-static GString *errors=NULL;
-static GString *infos=NULL;
+static GString *errors = NULL;
+static GString *infos = NULL;
 
 static char *clipboard_str = NULL;
 
@@ -2330,12 +2329,12 @@ setup_calc(GtkWidget *widget, gpointer data)
 			  G_CALLBACK (optioncb),
 			  (gpointer)&tmpsetup.output_remember);
 
-	gtk_tooltips_set_tip (tips, w,
-			      _("Should the output settings in the "
-			       "\"Number/Expression output options\" frame "
-			       "be remembered for next session.  Does not apply "
-			       "to the \"Error/Info output options\" frame."),
-			      NULL);
+	gtk_widget_set_tooltip_text
+		(w,
+		 _("Should the output settings in the "
+		   "\"Number/Expression output options\" frame "
+		   "be remembered for next session.  Does not apply "
+		   "to the \"Error/Info output options\" frame."));
 
 	frame=gtk_frame_new(_("Error/Info output options"));
 	gtk_box_pack_start(GTK_BOX(mainbox),frame,FALSE,FALSE,0);
@@ -2434,10 +2433,9 @@ setup_calc(GtkWidget *widget, gpointer data)
 			  G_CALLBACK (optioncb),
 			  (gpointer)&tmpsetup.precision_remember);
 
-	gtk_tooltips_set_tip (tips, w,
-			      _("Should the precision setting "
-			       "be remembered for next session."),
-			      NULL);
+	gtk_widget_set_tooltip_text (w,
+				     _("Should the precision setting "
+				       "be remembered for next session."));
 
 
 	mainbox = gtk_vbox_new(FALSE, GENIUS_PAD);
@@ -4898,9 +4896,6 @@ main (int argc, char *argv[])
 			  G_CALLBACK (drag_data_received), 
 			  NULL);
 
-	/*set up the tooltips*/
-	tips = gtk_tooltips_new();
-
 	/* setup the notebook */
 	g_signal_connect (G_OBJECT (notebook), "switch_page",
 			  G_CALLBACK (switch_page), NULL);



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