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

gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-117-gd4908a3)



The branch, master has been updated
       via  d4908a377f6a1ebcc80d12a08d96d85e8d0473c1 (commit)
      from  8a290f30e3f89e7d2c7dd4459c02fa0dce366e02 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/x_menus.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


=================
 Commit Messages
=================

commit d4908a377f6a1ebcc80d12a08d96d85e8d0473c1
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Correct some type casts; comment out not-yet-used variable.

:100644 100644 369eb36... 63fe5a6... M	gschem/src/x_menus.c

=========
 Changes
=========

commit d4908a377f6a1ebcc80d12a08d96d85e8d0473c1
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Correct some type casts; comment out not-yet-used variable.

diff --git a/gschem/src/x_menus.c b/gschem/src/x_menus.c
index 369eb36..63fe5a6 100644
--- a/gschem/src/x_menus.c
+++ b/gschem/src/x_menus.c
@@ -68,7 +68,7 @@ static void g_menu_execute(GtkAction *action, gpointer user_data)
 {
   gchar *guile_string;
   const gchar *func = gtk_action_get_name (action);
-  GSCHEM_TOPLEVEL *w_current = (GSCHEM_TOPLEVEL *) user_data;
+  /* GSCHEM_TOPLEVEL *w_current = (GSCHEM_TOPLEVEL *) user_data; */
 
   guile_string = g_strdup_printf("(%s)", func);
 #if DEBUG
@@ -195,9 +195,9 @@ get_main_menu(GSCHEM_TOPLEVEL *w_current)
         menu_item = gtk_action_create_menu_item (GTK_ACTION (action));
         gtk_menu_append (GTK_MENU (menu), menu_item);
 
-        g_signal_connect (GTK_OBJECT(action), "activate",
-                          GTK_SIGNAL_FUNC(g_menu_execute),
-                          (gpointer) w_current);
+        g_signal_connect (G_OBJECT(action), "activate",
+                          G_CALLBACK(g_menu_execute),
+                          w_current);
       }
 
       gtk_widget_show (menu_item);




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs