Hi,

Please find attached a patch to remove a couple of methods listed in
unusedcode.easy, from gtkframe.

Kate
From 85b2e98cb31fc7d8968136bf91c01b5589e7a0dd Mon Sep 17 00:00:00 2001
From: Kate Goss <katherine.g...@gmail.com>
Date: Tue, 14 Feb 2012 21:10:14 +0000
Subject: [PATCH] Remove unused methods from gtkframe

Remove GtkSalFrame::popIgnoreDamage() and GtkSalFrame::pushIgnoreDamage()
---
 unusedcode.easy                 |    2 --
 vcl/inc/unx/gtk/gtkframe.hxx    |    2 --
 vcl/unx/gtk/window/gtkframe.cxx |   14 --------------
 3 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/unusedcode.easy b/unusedcode.easy
index f1476f8..f5d4b3e 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -40,8 +40,6 @@ FontStyleBox::FontStyleBox(Window*, long)
 FormattedField::SetValidateText(String const&, String const*)
 FuncData::FuncData(rtl::OUString const&)
 GraphCtrl::GraphCtrl(Window*, long)
-GtkSalFrame::popIgnoreDamage()
-GtkSalFrame::pushIgnoreDamage()
 HTMLControls::Insert(HTMLControl const*&, unsigned short&)
 HTMLControls::Insert(HTMLControl const**, unsigned short)
 HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short)
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 1d84ca2..c59fcde 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -326,8 +326,6 @@ public:
     void updateScreenNumber();
 
     // only for gtk3 ...
-    void pushIgnoreDamage();
-    void popIgnoreDamage();
 #if GTK_CHECK_VERSION(3,0,0)
     void renderArea( cairo_t *cr, cairo_rectangle_t *src );
 #endif
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index e4856bd..e320ca8 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -2994,20 +2994,6 @@ gboolean GtkSalFrame::signalCrossing( GtkWidget*, GdkEventCrossing* pEvent, gpoi
     return sal_True;
 }
 
-void GtkSalFrame::pushIgnoreDamage()
-{
-#if GTK_CHECK_VERSION(3,0,0)
-    m_nDuringRender++;
-#endif
-}
-
-void GtkSalFrame::popIgnoreDamage()
-{
-#if GTK_CHECK_VERSION(3,0,0)
-    m_nDuringRender--;
-#endif
-}
-
 void GtkSalFrame::damaged (const basegfx::B2IBox& rDamageRect)
 {
 #if !GTK_CHECK_VERSION(3,0,0)
-- 
1.7.9

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to