Re: guile gnome-terminal macros take 2




 > Also, this specific function probably should call
 > "gnome-terminal-new-window" or whatever function.  Do you have
 > something like that?

Alrighty, everything's in place.  There is now a function called
"terminal-new-window".  However a small patch is needed for
gnome-terminal.c (the aforementioned static thinggie).  I'm including
it.

Is this alright?

Aldy

--- gnome-terminal.c.bak	Sun Mar 14 21:11:50 1999
+++ gnome-terminal.c	Sun Mar 14 21:30:54 1999
@@ -124,7 +124,7 @@
 	int changed;
 } preferences_t;
 
-static void new_terminal (GtkWidget *widget, ZvtTerm *term);
+void new_terminal (GtkWidget *widget, ZvtTerm *term);
 static void parse_an_arg (poptContext state,
 			  enum poptCallbackReason reason,
 			  const struct poptOption *opt,
@@ -1760,7 +1760,7 @@
         /* IS THIS BEING DOUBLE-FREED??? --JMP g_free (shell); */
 }
 
-static void
+void
 new_terminal (GtkWidget *widget, ZvtTerm *term)
 {
 	struct terminal_config *cfg;
@@ -2156,10 +2156,17 @@
 	return 0;
 }



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