vcl/inc/unx/gtk/gtkgdi.hxx | 1 - vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx | 7 ------- 2 files changed, 8 deletions(-)
New commits: commit d261356266f9b3c2fd4ec487ba260f31d53f5015 Author: Noel <noelgran...@gmail.com> AuthorDate: Wed Nov 4 19:33:25 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Thu Nov 5 09:04:13 2020 +0100 SpinButtonEntry is unused since commit f2517e82904b92989ed7e38a070c18234f460b33 Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Tue Sep 8 22:11:11 2020 +0200 improve loplugin:unusedvarsglobal Change-Id: Ibfa5a651eae01aeecd77a46d9f949ae6e48e17fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105304 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx index 604bfeff9eaa..5ff7a562af82 100644 --- a/vcl/inc/unx/gtk/gtkgdi.hxx +++ b/vcl/inc/unx/gtk/gtkgdi.hxx @@ -54,7 +54,6 @@ enum class GtkControlPart ListboxBoxButtonBox, ListboxBoxButtonBoxArrow, SpinButton, - SpinButtonEntry, SpinButtonUpButton, SpinButtonDownButton, ScrollbarVertical, diff --git a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx index 57b26ca65c98..74f7e421e2f5 100644 --- a/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx @@ -1198,13 +1198,6 @@ GtkStyleContext* GtkSalGraphics::createStyleContext(GtkControlPart ePart) gtk_widget_path_iter_add_class(path, -1, GTK_STYLE_CLASS_HORIZONTAL); return makeContext(path, mpWindowStyle); } - case GtkControlPart::SpinButtonEntry: - { - GtkWidgetPath *path = gtk_widget_path_copy(gtk_style_context_get_path(mpSpinStyle)); - gtk_widget_path_append_type(path, G_TYPE_NONE); - gtk_widget_path_iter_set_object_name(path, -1, "entry"); - return makeContext(path, mpSpinStyle); - } case GtkControlPart::SpinButtonUpButton: case GtkControlPart::SpinButtonDownButton: { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits