Re: Using Gtk::Grid in gtkmm-documentation



2012-01-10 13:41, Murray Cumming skrev:
On Tue, 2012-01-10 at 13:40 +0100, Murray Cumming wrote:
The latest unstable version of GTK+ deprecates GtkBox, so we should
replace it with Gtk::Grid in the gtkmm book's examples. Does someone
have time to do that?
http://git.gnome.org/browse/gtkmm-documentation

You will know that it's done when you can build gtkmm-documentation with
the --enable-warnings=fatal configure option.
Actually, when you can run "make check", not just "make".

(By the way, I will soon take a day to go through the various
outstanding patches for gtkmm, libsigc++, etc and deal with them
properly.)


I can do this.

When I ran "make check" on code that I fetched from the git repository yesterday, it stopped on a program that uses Gtk::Table. GtkTable is deprecated, but GtkBox is not. Will GtkBox soon be deprecated? Then I will need to replace both Gtk::Box and Gtk::Table by Gtk::Grid.

I doubt that "make check" will notice if deprecated classes are mentioned in gtkmm-tutorial-in.xml. That must be checked manually, I guess.

If I do this job, do you want me to file a bug report where I describe what I do, or can I just push my commits to git.gnome.org?

When I built gtkmm yesterday, the build stopped because main.cc uses some deprecated gtk_key_snooper_* functions.

Kjell


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