[Xfce4-commits] [panel-plugins/xfce4-xkb-plugin] 16/17: Cleanup pointers to consts

noreply at xfce.org noreply at xfce.org
Sat Jun 10 14:31:49 CEST 2017


This is an automated email from the git hooks/post-receive script.

n   i   n   e   t   l   s       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-xkb-plugin.

commit e1a4ae185bc65a3905aff1922f3a2601e25f6c04
Author: Viktor Odintsev <zakhams at gmail.com>
Date:   Sun Apr 30 18:04:47 2017 +0300

    Cleanup pointers to consts
---
 panel-plugin/xkb-cairo.c | 20 ++++++++++----------
 panel-plugin/xkb-cairo.h | 18 +++++++++---------
 2 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/panel-plugin/xkb-cairo.c b/panel-plugin/xkb-cairo.c
index 9631ba0..29ad324 100644
--- a/panel-plugin/xkb-cairo.c
+++ b/panel-plugin/xkb-cairo.c
@@ -32,7 +32,7 @@
 
 void
 xkb_cairo_draw_flag (cairo_t *cr,
-                     GdkPixbuf *image,
+                     const GdkPixbuf *image,
                      gint actual_width,
                      gint actual_height,
                      gint variant_markers_count,
@@ -139,11 +139,11 @@ xkb_cairo_draw_flag (cairo_t *cr,
 void
 xkb_cairo_draw_label (cairo_t *cr,
                       const gchar *group_name,
-                      const gint actual_width,
-                      const gint actual_height,
-                      const gint variant_markers_count,
-                      const guint scale,
-                      const GdkRGBA rgba)
+                      gint actual_width,
+                      gint actual_height,
+                      gint variant_markers_count,
+                      guint scale,
+                      GdkRGBA rgba)
 {
     gchar *normalized_group_name;
     gint pango_width, pango_height;
@@ -235,11 +235,11 @@ xkb_cairo_draw_label (cairo_t *cr,
 void
 xkb_cairo_draw_label_system (cairo_t *cr,
                              const gchar *group_name,
-                             const gint actual_width,
-                             const gint actual_height,
-                             const gint variant_markers_count,
+                             gint actual_width,
+                             gint actual_height,
+                             gint variant_markers_count,
                              const PangoFontDescription *desc,
-                             const GdkRGBA rgba)
+                             GdkRGBA rgba)
 {
     gchar *normalized_group_name;
     gint pango_width, pango_height;
diff --git a/panel-plugin/xkb-cairo.h b/panel-plugin/xkb-cairo.h
index 1da2c6e..e6ff6d4 100644
--- a/panel-plugin/xkb-cairo.h
+++ b/panel-plugin/xkb-cairo.h
@@ -31,7 +31,7 @@
 #include <pango/pangocairo.h>
 
 void        xkb_cairo_draw_flag         (cairo_t *cr,
-                                         GdkPixbuf *image,
+                                         const GdkPixbuf *image,
                                          gint actual_width,
                                          gint actual_height,
                                          gint variant_markers_count,
@@ -40,17 +40,17 @@ void        xkb_cairo_draw_flag         (cairo_t *cr,
 
 void        xkb_cairo_draw_label        (cairo_t *cr,
                                          const gchar *group_name,
-                                         const gint actual_width,
-                                         const gint actual_height,
-                                         const gint variant_markers_count,
-                                         const guint scale,
-                                         const GdkRGBA rgba);
+                                         gint actual_width,
+                                         gint actual_height,
+                                         gint variant_markers_count,
+                                         guint scale,
+                                         GdkRGBA rgba);
 
 void        xkb_cairo_draw_label_system (cairo_t *cr,
                                          const gchar *group_name,
-                                         const gint actual_width,
-                                         const gint actual_height,
-                                         const gint variant_markers_count,
+                                         gint actual_width,
+                                         gint actual_height,
+                                         gint variant_markers_count,
                                          const PangoFontDescription *desc,
                                          GdkRGBA rgba);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list