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

Another Patch (was Re: yet another new snapshot (again))



--- Gnome2/xs/GnomeProgram.xs.orig      2003-04-16 12:13:18.000000000 -0400
+++ Gnome2/xs/GnomeProgram.xs   2003-04-16 12:13:50.000000000 -0400
@@ -27,7 +27,7 @@
                char * modname = SvPV_nolen (module_info);
                if (strEQ ("libgnomeui", modname)) {
                        real_module_info = LIBGNOMEUI_MODULE;
-               } else if (streq ("libgnome", modname)) {
+               } else if (strEQ ("libgnome", modname)) {
                        real_module_info = LIBGNOME_MODULE;
                } else {
                        croak ("you passed a string for module_info, but it
wasn't one of 'libgnomeui' or 'libgnome'");


Quoting Emmanuele Bassi <bassi-e libero it>:

> * Emmanuele Bassi <bassi-e libero it>:
> 
> I should've spent 60 seconds to track this one... :-)
> 
> Simple typo in Gtk2/xs/GtkNotebook.xs, at line 242. Here's the patch
> that fixes it:
> 
> 
> --- Gtk2/xs/GtkNotebook.xs.old	Wed Apr 16 12:31:49 2003
> +++ Gtk2/xs/GtkNotebook.xs	Wed Apr 16 12:32:04 2003
> @@ -240,7 +240,7 @@
>  	GtkNotebook * notebook
>      CODE:
>  #if GTK_CHECK_VERSION(2,2,0)
> -	RETVAL = gtk_notebook_get_n_pages (notebook)
> +	RETVAL = gtk_notebook_get_n_pages (notebook);
>  #else
>  	/* this wasn't defined before 2.2.0...  but it's really handy and
>  	 * easy to implement, like so: */
> 
> 
> By the way: great job...
> 
> Regards,
>  Emmanuele.
> 
> -- 
> Emmanuele Bassi (Zefram)              [ http://digilander.iol.it/ebassi/
> ]
> GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738  08BD 8ECC DB8F A432
> 0FF4
> _______________________________________________
> gtk-perl-list mailing list
> gtk-perl-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-perl-list
> 



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