diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-10-01 02:13:47 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-11-14 13:52:50 +0100 |
commit | ab5632a6aff841b17c0362c0715099abc573cd79 (patch) | |
tree | 82f22b2373a61f74f1656a8b1fe8d1bece41637c /vcl/unx | |
parent | 64eb789f1ca92fb7a2e5f650af9a20fcc4b65d83 (diff) |
remove obsolete GenerateMenu wrapper
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/window/gtksalmenu.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/vcl/unx/gtk/window/gtksalmenu.cxx b/vcl/unx/gtk/window/gtksalmenu.cxx index 0f3056b5254f..65d774db3f9e 100644 --- a/vcl/unx/gtk/window/gtksalmenu.cxx +++ b/vcl/unx/gtk/window/gtksalmenu.cxx @@ -303,15 +303,6 @@ static void UpdateNativeMenu( GtkSalMenu* pMenu ) } } -gboolean GenerateMenu(gpointer user_data) -{ - GtkSalMenu* pSalMenu = static_cast< GtkSalMenu* >( user_data ); - - UpdateNativeMenu( pSalMenu ); - - return TRUE; -} - void ObjectDestroyedNotify( gpointer data ) { if ( data ) { @@ -411,7 +402,7 @@ void GtkSalMenu::SetFrame( const SalFrame* pFrame ) mpMenuModel = G_MENU_MODEL( g_object_get_data( G_OBJECT( pWindow ), "g-lo-menubar" ) ); mpActionGroup = G_ACTION_GROUP( g_object_get_data( G_OBJECT( pWindow ), "g-lo-action-group" ) ); // Generate the main menu structure. - GenerateMenu( this ); + UpdateNativeMenu( this ); } const GtkSalFrame* GtkSalMenu::GetFrame() const |