java-gobject-introspection-examples r9 - trunk/src/org/verbum
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: java-gobject-introspection-examples r9 - trunk/src/org/verbum
- Date: Tue, 16 Sep 2008 19:45:02 +0000 (UTC)
Author: walters
Date: Tue Sep 16 19:45:02 2008
New Revision: 9
URL: http://svn.gnome.org/viewvc/java-gobject-introspection-examples?rev=9&view=rev
Log:
Fix warnings in GtkTest
Modified:
trunk/src/org/verbum/GtkTest.java
Modified: trunk/src/org/verbum/GtkTest.java
==============================================================================
--- trunk/src/org/verbum/GtkTest.java (original)
+++ trunk/src/org/verbum/GtkTest.java Tue Sep 16 19:45:02 2008
@@ -2,7 +2,6 @@
import org.gnome.gir.dynamic.Gdk.Event;
import org.gnome.gir.dynamic.Gdk.EventAny;
-import org.gnome.gir.dynamic.Gtk.AboutDialog;
import org.gnome.gir.dynamic.Gtk.GtkGlobals;
import org.gnome.gir.dynamic.Gtk.Label;
import org.gnome.gir.dynamic.Gtk.TextBuffer;
@@ -22,7 +21,7 @@
VBox box = new VBox();
w.add(box);
Label l = new Label("hello world");
- box.packStartDefaults(l);
+ box.packStart(l, false, false, 0);
TextView tv = new TextView();
final TextBuffer buf = tv.getBuffer();
buf.insertAtCursor("hello world!", -1);
@@ -43,8 +42,6 @@
buf.getStartIter(iter);
iter.forwardChars(5);
buf.insert(iter, " TO THE WHOLE ", -1);
- AboutDialog ad = new AboutDialog();
- ad.getName();
w.showAll();
w.setIconFromFile("/usr/share/icons/abiword_48.png");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]