diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-09-28 19:16:18 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:49 +0100 |
commit | 05888c86739f5ec77d96b62a997e8fce90d090c1 (patch) | |
tree | 6078a3b8defa4de13bbd7b1362272421c7af84fe /vcl/inc/unx/gtk/gtkframe.hxx | |
parent | ea2261fac59fde0129bcdafb3e8f8ee94afc635f (diff) |
moved dbus and menumodel ownership to frame, where it belongs
Diffstat (limited to 'vcl/inc/unx/gtk/gtkframe.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index 3c7c10614271..1f8f4a3ca208 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -54,6 +54,8 @@ typedef XLIB_Window GdkNativeWindow; #define gdk_window_foreign_new_for_display(a,b) gdk_x11_window_foreign_new_for_display(a,b) #endif +static sal_Bool bDBusIsAvailable = sal_False; + class GtkSalFrame : public SalFrame { static const int nMaxGraphics = 2; @@ -342,7 +344,7 @@ public: virtual void SetMenu( SalMenu *pSalMenu ); virtual SalMenu* GetMenu( void ); virtual void DrawMenuBar(); - void SetWatcherId( sal_uInt32 watcherId ); + void EnsureAppMenuWatch(); virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle ); // Before the window is visible, a resize event |