[Libreoffice-commits] .: Branch 'feature/unitymenus' - vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Sep 17 15:38:56 PDT 2012


 vcl/unx/gtk/window/gtksalmenu.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit fa8b00262b21a0090715cb2baf88bcc5da5cfe41
Author: Antonio Fernandez <antonio.fernandez at aentos.es>
Date:   Mon Sep 17 23:37:25 2012 +0100

    Removed some debug messages.
    
    Change-Id: I27d9d82d6fcd27323c86d24a675198186c185281

diff --git a/vcl/unx/gtk/window/gtksalmenu.cxx b/vcl/unx/gtk/window/gtksalmenu.cxx
index dfe27a5..fe3b4cd 100644
--- a/vcl/unx/gtk/window/gtksalmenu.cxx
+++ b/vcl/unx/gtk/window/gtksalmenu.cxx
@@ -52,7 +52,6 @@ static gchar* GetCommandForSpecialItem( GtkSalMenuItem* pSalMenuItem )
 
 static void UpdateNativeMenu2( GtkSalMenu *pMenu )
 {
-    cout << __FUNCTION__ << endl;
     if ( pMenu == NULL )
         return;
 
@@ -153,7 +152,6 @@ static void UpdateNativeMenu2( GtkSalMenu *pMenu )
 
 static void UpdateNativeMenu( GtkSalMenu* pMenu )
 {
-    cout << __FUNCTION__ << endl;
     if ( pMenu == NULL )
         return;
 
@@ -336,7 +334,6 @@ on_registrar_available (GDBusConnection * /*connection*/,
                         const gchar     * /*name_owner*/,
                         gpointer         user_data)
 {
-    cout << __FUNCTION__ << endl;
     GtkSalFrame* pSalFrame = static_cast< GtkSalFrame* >( user_data );
     GtkSalMenu* pSalMenu = static_cast< GtkSalMenu* >( pSalFrame->GetMenu() );
 
@@ -397,7 +394,6 @@ on_registrar_unavailable (GDBusConnection * /*connection*/,
                           const gchar     * /*name*/,
                           gpointer         user_data)
 {
-    cout << __FUNCTION__ << endl;
     GtkSalFrame* pSalFrame = static_cast< GtkSalFrame* >( user_data );
     GtkSalMenu* pSalMenu = static_cast< GtkSalMenu* >( pSalFrame->GetMenu() );
 
@@ -425,14 +421,12 @@ GtkSalMenu::GtkSalMenu( sal_Bool bMenuBar ) :
     mpMenuModel( NULL ),
     mpActionGroup( NULL )
 {
-    cout << __FUNCTION__ << endl;
 }
 
 GtkSalMenu::~GtkSalMenu()
 {
     if ( mbMenuBar == sal_True ) {
 //        g_source_remove_by_user_data( this );
-        cout << __FUNCTION__ << endl;
 
         ((GtkSalFrame*) mpFrame)->SetMenu( NULL );
 


More information about the Libreoffice-commits mailing list