[uae] Re: Source code snapshot

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 9 Sep 2004 22:22:18 -0500

Hi Derek

On Thursday 09 September 2004 08:37 am, Derek Piper wrote:
>  So I assumed (I know, bad to assume) that GTK 1.x was still acceptable
> since configure didn't barf. Let me know if I'm on the wrong track with
> it. If it is my lack of GTK 2 .. any hints for a compiling it on a
> Debian Woody platform?

The attached patch should sort you out. ;-)

Cheers,
Rich
Index: gui-gtk/floppyfileentry.c
===================================================================
RCS file: /cvsroot/uaedev/uae/src/gui-gtk/floppyfileentry.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- gui-gtk/floppyfileentry.c   14 Jun 2004 18:30:51 -0000      1.5
+++ gui-gtk/floppyfileentry.c   10 Sep 2004 03:19:10 -0000      1.6
@@ -63,12 +63,13 @@
 static void floppyfileentry_init (FloppyFileEntry *ffe)
 {
     GtkWidget *hbox;
+    GtkWidget *ledbox;
 
     gtk_container_set_border_width (GTK_CONTAINER (ffe), 8);
     gtk_frame_set_label_align (GTK_FRAME (ffe), 0.01, 0.5);
 
     ffe->led = led_new ();
-    GtkWidget *ledbox = gtk_vbox_new (FALSE, 0);
+    ledbox = gtk_vbox_new (FALSE, 0);
     gtk_container_add (GTK_CONTAINER (ledbox), gtk_hbox_new (FALSE, 0));
     gtk_container_add (GTK_CONTAINER (ledbox), ffe->led);
     gtk_container_add (GTK_CONTAINER (ledbox), gtk_hbox_new (FALSE, 0));

Other related posts: