diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-08-27 06:38:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-08-27 06:38:50 (GMT) |
commit | 35024acba0f134cfe09711e3f1a6f29a01257aeb (patch) | |
tree | bbdcf3903bb60df15d26b57e26018754d6a525eb /src/panels | |
parent | 10b620c3f7d6a9e78aa1e9d6dabef466d0b9e3af (diff) |
Removed some warnings about deprecated calls to gtk_[hv]box_new().
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@395 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/panels')
-rw-r--r-- | src/panels/breaks.c | 2 | ||||
-rw-r--r-- | src/panels/registers.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/panels/breaks.c b/src/panels/breaks.c index e8923e0..4bdac36 100644 --- a/src/panels/breaks.c +++ b/src/panels/breaks.c @@ -156,7 +156,7 @@ static void g_breaks_panel_init(GBreaksPanel *panel) base->name = _("Breakpoints"); base->reload_binary = (reload_for_new_binary_fc)reload_breaks_for_new_binary; - base->widget = gtk_vbox_new(FALSE, 0); + base->widget = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show(base->widget); ref = G_OBJECT(base->widget); diff --git a/src/panels/registers.c b/src/panels/registers.c index 778e902..184d247 100644 --- a/src/panels/registers.c +++ b/src/panels/registers.c @@ -93,7 +93,7 @@ GtkWidget *build_registers_panel(void) - vbox1 = gtk_vbox_new (FALSE, 0); + vbox1 = gtk_box_new(GTK_ORIENTATION_VERTICAL, 8); gtk_widget_show (vbox1); gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(result), vbox1); |