Nmap Development mailing list archives

Re: [PATCH] nmapfe: now build without broken Gtk widgets ;)


From: Fyodor <fyodor () insecure org>
Date: Thu, 29 Dec 2005 20:35:43 -0800

On Fri, Dec 30, 2005 at 02:21:00AM +0200, Priit Laes wrote:

This is the third patch in series of migrating slowly away from
deprecated Gtk2 APIs.

This patch replaces the broken GtkText API with the newer and shinier
Gtk text widgets - GtkTextBuffer, GtkTextView and friends ;)

Thanks, this looks great!  One minor thing is that it would be nice if
you used the -b option to diff, as many of the changes were just
whitespace.  I have integrated this into Nmap, and will try to
release a new version including it to the nmap-dev list tonight.

By the way, I still get a bunch of "Gtk-CRITICAL" error messages when
I start nmapfe.  Does anyone know how to eliminate these:

flog/home/fyodor/nmap#nmapfe/nmapfe 

(nmapfe:19460): Gtk-WARNING **: gtkwidget.c:4007: widget not within a GtkWindow

(nmapfe:19460): Gtk-CRITICAL **: file gtkmenu.c: line 1594 (gtk_menu_set_accel_path): assertion `accel_path[0] == '<' 
&& strchr (accel_path, '/')' failed
[the line above is repeated 5 more times]


Cheers,
Fyodor


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: