Search
lxdream.org :: lxdream/src/gui/mmio_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/mmio_win.c
changeset 429:e581b90c3fb3
prev238:6af4cc93b137
next435:7a5d71e8560b
author nkeynes
date Mon Oct 08 11:52:13 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/gui/mmio_win.c Fri Dec 15 10:17:08 2006 +0000
1.2 +++ b/src/gui/mmio_win.c Mon Oct 08 11:52:13 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mmio_win.c,v 1.5 2006-12-15 10:17:08 nkeynes Exp $
1.6 + * $Id: mmio_win.c,v 1.6 2007-10-08 11:48:56 nkeynes Exp $
1.7 *
1.8 * Implements the MMIO register viewing window
1.9 *
1.10 @@ -90,16 +90,16 @@
1.11 gtk_widget_show( tab );
1.12 gtk_container_add( GTK_CONTAINER(scroll), GTK_WIDGET(list) );
1.13
1.14 - vbox = gtk_vbox_new( FALSE, 0 );
1.15 + vbox = GTK_VBOX(gtk_vbox_new( FALSE, 0 ));
1.16 gtk_widget_show( GTK_WIDGET(vbox) );
1.17 gtk_container_add( GTK_CONTAINER(vbox), GTK_WIDGET(scroll) );
1.18
1.19 - trace_button = gtk_check_button_new_with_label("Trace access");
1.20 + trace_button = GTK_CHECK_BUTTON(gtk_check_button_new_with_label("Trace access"));
1.21 gtk_widget_show( GTK_WIDGET(trace_button) );
1.22 gtk_container_add( GTK_CONTAINER(vbox), GTK_WIDGET(trace_button) );
1.23 gtk_box_set_child_packing( GTK_BOX(vbox), GTK_WIDGET(trace_button),
1.24 FALSE, FALSE, 0, GTK_PACK_START );
1.25 - gtk_notebook_append_page( mmr_book, vbox, tab );
1.26 + gtk_notebook_append_page( mmr_book, GTK_WIDGET(vbox), tab );
1.27 gtk_object_set_data( GTK_OBJECT(mmr_win), name, list );
1.28 g_signal_connect ((gpointer) trace_button, "toggled",
1.29 G_CALLBACK (on_trace_button_toggled),
.