summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorTim Janik <timj@gimp.org>1998-03-08 02:04:26 +0000
committerTim Janik <timj@src.gnome.org>1998-03-08 02:04:26 +0000
commit76d01a826ca213bcd1b7ee71acdf687de9c9d7f0 (patch)
tree541c170d68302211c261ca92fcaa7af7d0af557a /gtk/gtkmain.c
parent2395ed082603df688b4cb06ac8c51a44148ff414 (diff)
downloadgtk+-76d01a826ca213bcd1b7ee71acdf687de9c9d7f0.tar.gz
define the version variables in config.h.
Sun Mar 8 03:00:17 1998 Tim Janik <timj@gimp.org> * 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)
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c5
1 files changed, 5 insertions, 0 deletions
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;