[Libreoffice-commits] core.git: vcl/inc vcl/unx

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 29 09:27:50 UTC 2020


 vcl/inc/unx/gtk/gtkgdi.hxx                |    2 +-
 vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 23434773c9bfa8a2bedf1c019341cdb72575f2cc
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 12:08:27 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Aug 29 11:26:31 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: I5cf2b4ab8018bc6aa84a54ddfd6bcac50aa9925e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101594
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx
index 430bab56d739..fd002cfd625d 100644
--- a/vcl/inc/unx/gtk/gtkgdi.hxx
+++ b/vcl/inc/unx/gtk/gtkgdi.hxx
@@ -157,7 +157,7 @@ private:
     static GtkStyleContext *mpHScrollbarButtonStyle;
     static GtkStyleContext *mpToolbarStyle;
     static GtkStyleContext *mpToolButtonStyle;
-    static GtkStyleContext *mpToolbarSeperatorStyle;
+    static GtkStyleContext *mpToolbarSeparatorStyle;
     static GtkStyleContext *mpCheckButtonStyle;
     static GtkStyleContext *mpCheckButtonCheckStyle;
     static GtkStyleContext *mpRadioButtonStyle;
diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
index 44d1ac9842d6..e10365de4240 100644
--- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
@@ -42,7 +42,7 @@ GtkStyleContext* GtkSalGraphics::mpHScrollbarSliderStyle = nullptr;
 GtkStyleContext* GtkSalGraphics::mpHScrollbarButtonStyle = nullptr;
 GtkStyleContext* GtkSalGraphics::mpToolbarStyle = nullptr;
 GtkStyleContext* GtkSalGraphics::mpToolButtonStyle = nullptr;
-GtkStyleContext* GtkSalGraphics::mpToolbarSeperatorStyle = nullptr;
+GtkStyleContext* GtkSalGraphics::mpToolbarSeparatorStyle = nullptr;
 GtkStyleContext* GtkSalGraphics::mpCheckButtonStyle = nullptr;
 GtkStyleContext* GtkSalGraphics::mpCheckButtonCheckStyle = nullptr;
 GtkStyleContext* GtkSalGraphics::mpRadioButtonStyle = nullptr;
@@ -2435,7 +2435,7 @@ bool GtkSalGraphics::drawNativeControl( ControlType nType, ControlPart nPart, co
             context = mpToolButtonStyle;
             break;
         case ControlPart::SeparatorVert:
-            context = mpToolbarSeperatorStyle;
+            context = mpToolbarSeparatorStyle;
             renderType = RenderType::ToolbarSeparator;
             break;
         default:
@@ -3588,7 +3588,7 @@ GtkSalGraphics::GtkSalGraphics( GtkSalFrame *pFrame, GtkWidget *pWindow )
 
     GtkToolItem *item = gtk_separator_tool_item_new();
     gtk_toolbar_insert(GTK_TOOLBAR(pToolbar), item, -1);
-    mpToolbarSeperatorStyle = gtk_widget_get_style_context(GTK_WIDGET(item));
+    mpToolbarSeparatorStyle = gtk_widget_get_style_context(GTK_WIDGET(item));
 
     GtkWidget *pButton = gtk_button_new();
     item = gtk_tool_button_new(pButton, nullptr);


More information about the Libreoffice-commits mailing list