fix: Theme parsing error: Not using units is deprecated. Assuming 'px'

Change-Id: I33d47ea088ffc870d61db383ae93409bf272ee75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191776
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara
2025-10-02 18:57:00 +02:00
parent 992fd7689e
commit ccebcef309
+2 -2
View File
@@ -9391,8 +9391,8 @@ public:
{
pNotebookContext = gtk_widget_get_style_context(GTK_WIDGET(pNotebook));
GtkCssProvider* pProvider = gtk_css_provider_new();
static const gchar data[] = "notebook > header > tabs > tab { padding-top: 1; "
"padding-bottom: 1; margin-top: 0; margin-bottom: 0;}";
static const gchar data[] = "notebook > header > tabs > tab { padding-top: 1px; "
"padding-bottom: 1px; margin-top: 0; margin-bottom: 0;}";
css_provider_load_from_data(pProvider, data, -1);
gtk_style_context_add_provider(pNotebookContext, GTK_STYLE_PROVIDER(pProvider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);