[evince/wip/gpoo/fix-compilation-warnings: 1/2] libview: Fix compilation warning on multiline string




commit e429e0b8c9407db08d7d95bed5d021ddfbbfb036
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Wed Mar 2 16:03:00 2022 -0300

    libview: Fix compilation warning on multiline string

 libview/ev-annotation-window.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index c79969c47..92cd25fc8 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -130,12 +130,12 @@ ev_annotation_window_set_color (EvAnnotationWindow *window,
        g_autoptr (GError)  error = NULL;
        g_autoptr (GdkRGBA) icon_color = ev_color_contrast_get_best_foreground_color (color);
        g_autofree char    *icon_color_str = gdk_rgba_to_string (icon_color);
-       css_data = g_strdup_printf ("button {border-color: %1$s; color: %2$s; -gtk-icon-shadow:0 0; 
box-shadow:0 0;}\n\
-                                    button:hover {background: lighter(%1$s); border-color: darker(%1$s);}\n\
-                                    button:active {background: darker(%1$s);}\n\
-                                    evannotationwindow.background { color: %2$s; }\n\
-                                    evannotationwindow.background:backdrop { color: alpha(%2$s, .75); }\n\
-                                    evannotationwindow.background, button {background: %1$s}",
+       css_data = g_strdup_printf ("button {border-color: %1$s; color: %2$s; -gtk-icon-shadow:0 0; 
box-shadow:0 0;}\n"
+                                   "button:hover {background: lighter(%1$s); border-color: darker(%1$s);}\n"
+                                   "button:active {background: darker(%1$s);}\n"
+                                   "evannotationwindow.background { color: %2$s; }\n"
+                                   "evannotationwindow.background:backdrop { color: alpha(%2$s, .75); }\n"
+                                   "evannotationwindow.background, button {background: %1$s}",
                                    rgba_str, icon_color_str);
 
        gtk_css_provider_load_from_data (css_provider, css_data, strlen (css_data), &error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]