[ease] Fix widget type in slide pane
- From: Stéphane Maniaci <maniacis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] Fix widget type in slide pane
- Date: Sun, 15 Aug 2010 04:56:50 +0000 (UTC)
commit 0cef9eabaeec3c965b5f285e1419bb1c317db30f
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date: Sat Aug 14 23:56:08 2010 -0500
Fix widget type in slide pane
ease/ease-inspector-slide-pane.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/ease/ease-inspector-slide-pane.vala b/ease/ease-inspector-slide-pane.vala
index c4ee004..1d970e0 100644
--- a/ease/ease-inspector-slide-pane.vala
+++ b/ease/ease-inspector-slide-pane.vala
@@ -23,7 +23,7 @@ internal class Ease.InspectorSlidePane : InspectorPane
private const string UI_FILE_PATH = "inspector-slide.ui";
private BackgroundWidget bg_widget;
- private Gtk.Box box;
+ private Gtk.VBox vbox;
internal InspectorSlidePane(Document d)
{
@@ -39,7 +39,7 @@ internal class Ease.InspectorSlidePane : InspectorPane
catch (Error e) { error("Error loading UI: %s", e.message); }
// get the root box
- box = builder.get_object("root-box") as Gtk.Box;
+ vbox = builder.get_object("root-box") as Gtk.VBox;
// connect signals
builder.connect_signals(this);
@@ -50,9 +50,9 @@ internal class Ease.InspectorSlidePane : InspectorPane
protected override void slide_updated()
{
- if (bg_widget != null) box.remove(bg_widget);
+ if (bg_widget != null) vbox.remove(bg_widget);
bg_widget = new BackgroundWidget.for_slide(slide);
- box.pack_start(bg_widget, true, true, 0);
+ vbox.pack_start(bg_widget, true, true, 0);
bg_widget.show();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]