Use gtk_widget_is_toplevel()

The GTK_WIDGET_TOPLEVEL() macro does not exist anymore.
Improve message for downloading ni binary

If the ni binary is not present, suggest a URL at which to download
it.
Don't fail if restarting gconfd-2 fails

Instead, provide a helpful error message and keep going with 'make
install'.
Update to newer git.mk

This version doesn't need to include autom4te.cache in
MAINTAINERCLEANFILES.
Use AM_PROG_AR to accommodate newer Automake

Also add ar-lib to MAINTAINERCLEANFILES so it is ignored.
Incorporate latest fixes from Chimara's GTK2 branch
Compile subprograms without warnings

Subprograms included in this source tree verbatim get the appropriate
command line flags in order to suppress all warnings.
g_atexit() is deprecated

There is no replacement, it is discouraged to use g_atexit() altogether.
For the two instances in which it was used (one of which is commented
out and only used for debugging purposes) we add functions that are
called right before main() returns.
g_thread_init() is not necessary anymore

Since GLib 2.32, g_thread_init() does not have to be called.
Comment up-to-date fix
Get rid of GtkNotebookPage

GtkNotebookPage is now private, and the 'switch-page' signal passes
a gpointer to the signal handler; it is a GtkWidget * in GTK 3.
Replace GTK_WIDGET_SET_FLAGS

The accessor macro has been replaced by getter and setter functions.
Remove deprecated gtk_window_set_has_frame()

Reading the documentation more closely, it seems that this was not
doing anything anyway.
Use "related actions" API

Replace gtk_action_connect_proxy() by
gtk_activatable_set_related_action() and gtk_widget_get_action() by
gtk_activatable_get_related_action().
Use accessor functions instead of struct members
Quit program when closing the splash screen
Don't resort to undocumented API trickery

...to set the default button in the GtkAssistant for new projects. This
is now done by GTK itself, since bgo#527583 was fixed.
Correct save fault from previous Glade version

Apparently a previous version of Glade omitted a space in the XML that
the current version of Glade will not accept anymore.
Keep track of file chooser button with proper signal

The GtkFileChooserButton doesn't emit ::current-foler-changed when you
choose a new folder from the dropdown menu. The proper signal to connect
to is apparently ::selection-changed, even though this is only emitted
on user actions.
Use Automake 1.11 features

1.11 is the default version in Debian Wheezy; this allows cutting out
some contingency code