summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/dock-item.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-06-15 00:16:48 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-06-15 00:16:48 +0000
commit901027a9b2ef18744d9fef25723018226c80809d (patch)
tree1e3b3e1334421c6db927ad01f27ae9528fd80f7e /src/ui/widget/dock-item.cpp
parentRemove deprecated glib macro wrappers (diff)
parentClean up deprecated GTK_WIDGET API (diff)
downloadinkscape-901027a9b2ef18744d9fef25723018226c80809d.tar.gz
inkscape-901027a9b2ef18744d9fef25723018226c80809d.zip
Clean up deprecated GTK_WIDGET API
(bzr r10305)
Diffstat (limited to 'src/ui/widget/dock-item.cpp')
-rw-r--r--src/ui/widget/dock-item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/dock-item.cpp b/src/ui/widget/dock-item.cpp
index 72a20c385..87f4d0840 100644
--- a/src/ui/widget/dock-item.cpp
+++ b/src/ui/widget/dock-item.cpp
@@ -262,7 +262,7 @@ DockItem::present()
void
DockItem::grab_focus()
{
- if (GTK_WIDGET_REALIZED (_gdl_dock_item)) {
+ if (gtk_widget_get_realized (_gdl_dock_item)) {
// make sure the window we're in is present
Gtk::Widget *toplevel = getWidget().get_toplevel();