aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dlg_utils.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2008-04-07 03:46:01 +0000
committerStephen Fisher <steve@stephen-fisher.com>2008-04-07 03:46:01 +0000
commita398bebdaf691ceeaec536d8c657505d45906451 (patch)
treeefcad19ed10aefd15f38131bcd29eabcc6b08486 /gtk/dlg_utils.c
parent0a381cca292a228b851e0300a4a428d9c5792a33 (diff)
Remove GTK1 code and change ugly version checking statements into
GTK_CHECK_VERSION(). svn path=/trunk/; revision=24826
Diffstat (limited to 'gtk/dlg_utils.c')
-rw-r--r--gtk/dlg_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/dlg_utils.c b/gtk/dlg_utils.c
index e2f868cccd..89ef24e5d9 100644
--- a/gtk/dlg_utils.c
+++ b/gtk/dlg_utils.c
@@ -363,7 +363,7 @@ dlg_button_row_new(const gchar *stock_id_first, ...)
/* this is called, when a dialog was closed */
static void dlg_destroy_cb(GtkWidget *dialog _U_, gpointer data _U_)
{
-#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION < 4
+#if !GTK_CHECK_VERSION(2,4,0)
if(top_level) {
/* bring main window back to front (workaround for a bug in win32 GTK2.x)
XXX - do this only on Windows? */