diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2007-01-28 20:01:45 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2007-01-28 20:01:45 +0000 |
commit | 6aa59c7bca58187ef550b189cd1c2219259d2877 (patch) | |
tree | 9987d53edbf320b9b0e7e66cdb98dabd4a532b81 /gladeui/glade-design-view.c | |
parent | 5d9236611b6c89f15d00ae479cf490f268fdca24 (diff) | |
download | glade-6aa59c7bca58187ef550b189cd1c2219259d2877.tar.gz |
Now works like a pure widget, uses gtk_widget_size_allocate() to resize
* gladeui/glade-design-layout.[ch]:
Now works like a pure widget, uses gtk_widget_size_allocate() to resize
children and gtk_widget_queue_resize() to resize itself (removed default
size control for now).
* gladeui/glade-xml-utils.[ch], gladeui/glade-widget.[ch],
gladeui/glade-widget-adaptor.[ch], plugins/gtk/gtk+.xml.in,
plugins/gtk/glade-gtk.c, plugins/gnome/glade-gnome.c:
- Added glade_xml_get_property_int()
- Added default-width/height to catalog/GWA
- Added toplevel-width/height properties to GladeWidget
- Use default-width/height in catalogs instead of gtk_window_set_default_size()
in plugin code.
svn path=/trunk/; revision=1061
Diffstat (limited to 'gladeui/glade-design-view.c')
-rw-r--r-- | gladeui/glade-design-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gladeui/glade-design-view.c b/gladeui/glade-design-view.c index 620ce556..e5527324 100644 --- a/gladeui/glade-design-view.c +++ b/gladeui/glade-design-view.c @@ -170,8 +170,8 @@ glade_design_view_new (GladeProject *project) g_return_val_if_fail (GLADE_IS_PROJECT (project), NULL); view = g_object_new (GLADE_TYPE_DESIGN_VIEW, - "project", project, - NULL); + "project", project, + NULL); return GTK_WIDGET (view); } |