summaryrefslogtreecommitdiff
path: root/gdk/win32
diff options
context:
space:
mode:
authorAndrew Chadwick <a.t.chadwick@gmail.com>2016-11-13 06:23:17 +0000
committerMatthias Clasen <mclasen@redhat.com>2016-11-14 14:11:36 -0500
commit83712a48f4ec5f75f8f8c226561c1a6e1714cad4 (patch)
tree4989c8fa2ca0e510b53a71f237c070a9d6dc08fc /gdk/win32
parent23354ff6e756780ea295ae2a84c1dacbef1c68e7 (diff)
downloadgtk+-83712a48f4ec5f75f8f8c226561c1a6e1714cad4.tar.gz
win32: remove an unused func operating on GdkColor
https://bugzilla.gnome.org/show_bug.cgi?id=774347
Diffstat (limited to 'gdk/win32')
-rw-r--r--gdk/win32/gdkmain-win32.c8
-rw-r--r--gdk/win32/gdkprivate-win32.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index 2c45cb3b78..1fa0b0824b 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 e88b5ab403..f2c5b3be85 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);