[gtk+] win32: remove an unused func operating on GdkColor



commit 83712a48f4ec5f75f8f8c226561c1a6e1714cad4
Author: Andrew Chadwick <a t chadwick gmail com>
Date:   Sun Nov 13 06:23:17 2016 +0000

    win32: remove an unused func operating on GdkColor
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774347

 gdk/win32/gdkmain-win32.c    |    8 --------
 gdk/win32/gdkprivate-win32.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index 2c45cb3..1fa0b08 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -178,14 +178,6 @@ static_printf (const gchar *format,
   return retval;
 }
 
-gchar *
-_gdk_win32_color_to_string (const GdkColor *color)
-{
-  return static_printf ("(%.04x,%.04x,%.04x):%.06x",
-                       color->red, color->green,
-                       color->blue, color->pixel);
-}
-
 void
 _gdk_win32_print_paletteentries (const PALETTEENTRY *pep,
                                const int           nentries)
diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h
index e88b5ab..f2c5b3b 100644
--- a/gdk/win32/gdkprivate-win32.h
+++ b/gdk/win32/gdkprivate-win32.h
@@ -204,7 +204,6 @@ GdkWindow *_gdk_modal_current       (void);
 gboolean   _gdk_modal_blocked       (GdkWindow *window);
 
 #ifdef G_ENABLE_DEBUG
-gchar *_gdk_win32_color_to_string      (const GdkColor *color);
 void   _gdk_win32_print_paletteentries (const PALETTEENTRY *pep,
                                        const int           nentries);
 void   _gdk_win32_print_system_palette (void);


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