summaryrefslogtreecommitdiff
path: root/x11/xscreensaver/patches/patch-af
blob: 81b7694dc190423a6d244db438d111e8b36647a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-af,v 1.11 2003/09/08 12:11:16 wiz Exp $

--- driver/demo-Gtk.c.orig	Thu Sep  4 04:02:03 2003
+++ driver/demo-Gtk.c
@@ -4540,9 +4540,11 @@ main (int argc, char **argv)
   free (window_title);
   window_title = 0;
 
+#ifdef HAVE_GTK2
   /* After picking the default size, allow -geometry to override it. */
   if (geom)
     gtk_window_parse_geometry (GTK_WINDOW (s->toplevel_widget), geom);
+#endif
 
   gtk_widget_show (s->toplevel_widget);
   init_icon (GTK_WIDGET (s->toplevel_widget)->window);  /* after `show' */