summaryrefslogtreecommitdiff
path: root/src/ui/tabpopup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tabpopup.c')
-rw-r--r--src/ui/tabpopup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c
index b896b0e3..d7887ca8 100644
--- a/src/ui/tabpopup.c
+++ b/src/ui/tabpopup.c
@@ -640,13 +640,13 @@ meta_ui_tab_popup_select (MetaTabPopup *popup,
}
}
-Window
-meta_ui_tab_popup_get_xid (MetaTabPopup *popup)
+GtkWidget*
+meta_ui_tab_popup_get_widget (MetaTabPopup *popup)
{
- if (popup != NULL && popup->window != NULL)
- return gdk_x11_window_get_xid(gtk_widget_get_window(popup->window));
+ if (popup != NULL)
+ return popup->window;
else
- return 0;
+ return NULL;
}
void