From 76d01a826ca213bcd1b7ee71acdf687de9c9d7f0 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 8 Mar 1998 02:04:26 +0000 Subject: define the version variables in config.h. Sun Mar 8 03:00:17 1998 Tim Janik * configure.in: define the version variables in config.h. * gtk/gtkmain.h: * gtk/gtkmain.c: added static version variables. * gdk/gdkpixmap.c: fixed memory leaks (gtk-gronlund-980307-1.patch.gz) --- gtk/gtkmain.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk/gtkmain.c') diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 3dc5645cd4..25de9353f0 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -32,6 +32,7 @@ #include "gtkwidget.h" #include "gtkwindow.h" #include "gtkprivate.h" +#include "../config.h" /* Private type definitions @@ -119,6 +120,10 @@ static gint gtk_idle_compare (gpointer a, static gint gtk_timeout_compare (gpointer a, gpointer b); +const guint gtk_major_version = GTK_MAJOR_VERSION; +const guint gtk_minor_version = GTK_MINOR_VERSION; +const guint gtk_micro_version = GTK_MICRO_VERSION; + static gboolean iteration_done = FALSE; static guint main_level = 0; static gint initialized = FALSE; -- cgit v1.2.1