*/
#include <gtk/gtk.h>
+#include "config.h"
#include "demo-common.h"
static GtkWidget *window = NULL;
gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
gtk_show_about_dialog (GTK_WINDOW (window),
"name", "GTK+ Code Demos",
- "version", "2.4.3",
- "copyright", "(C) 1997-2004 The GTK+ Team",
+ "version", PACKAGE_VERSION,
+ "copyright", "(C) 1997-2005 The GTK+ Team",
"license", license,
"website", "http://www.gtk.org",
"comments", "Program to demonstrate GTK+ functions.",
GtkActionClass parent_class;
} ToolMenuActionClass;
-G_DEFINE_TYPE(ToolMenuAction, tool_menu_action, GTK_TYPE_ACTION);
+G_DEFINE_TYPE(ToolMenuAction, tool_menu_action, GTK_TYPE_ACTION)
static void
tool_menu_action_class_init (ToolMenuActionClass *class)
factory = gtk_icon_factory_new ();
gtk_icon_factory_add_default (factory);
- /* demo_find_file() looks in the the current directory first,
+ /* demo_find_file() looks in the current directory first,
* so you can run gtk-demo without installing GTK, then looks
* in the location where the file is installed.
*/