summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/dock-item.cpp
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2007-09-02 22:31:56 +0000
committergustav_b <gustav_b@users.sourceforge.net>2007-09-02 22:31:56 +0000
commitb1a617ac4240012633dd45f5109a668838ca9897 (patch)
treee369c9d67cf4ae4b7bb6a7ddcc84a8499269b63f /src/ui/widget/dock-item.cpp
parentchange tweak to shift+f2 (diff)
downloadinkscape-b1a617ac4240012633dd45f5109a668838ca9897.tar.gz
inkscape-b1a617ac4240012633dd45f5109a668838ca9897.zip
Fixes for transient dialogs in win32.
(bzr r3670)
Diffstat (limited to 'src/ui/widget/dock-item.cpp')
-rw-r--r--src/ui/widget/dock-item.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/widget/dock-item.cpp b/src/ui/widget/dock-item.cpp
index 1e232cb4e..97f11f56e 100644
--- a/src/ui/widget/dock-item.cpp
+++ b/src/ui/widget/dock-item.cpp
@@ -222,8 +222,8 @@ DockItem::present()
void
DockItem::get_position(int& x, int& y)
{
- if (_getWindow()) {
- _getWindow()->get_position(x, y);
+ if (getWindow()) {
+ getWindow()->get_position(x, y);
} else {
x = _x;
y = _y;
@@ -392,7 +392,7 @@ DockItem::_onKeyPress(GdkEventKey *event)
void
DockItem::_onStateChanged(State prev_state, State new_state)
{
- _window = _getWindow();
+ _window = getWindow();
if (new_state == FLOATING_STATE) {
_window->signal_hide().connect(sigc::mem_fun(*this, &Inkscape::UI::Widget::DockItem::_onHideWindow));
@@ -411,7 +411,7 @@ DockItem::_onDeleteEvent(GdkEventAny *event)
Gtk::Window *
-DockItem::_getWindow()
+DockItem::getWindow()
{
g_return_val_if_fail(_gdl_dock_item, 0);
Gtk::Container *parent = getWidget().get_parent();