[gtk+] Fix the build
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix the build
- Date: Tue, 1 Nov 2016 18:11:49 +0000 (UTC)
commit 6ed58cfd506cb9995af8625822388290bf3b114a
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 1 14:11:25 2016 -0400
Fix the build
testgtk.c had some dead code referring to GdkColor. Drop it.
tests/testgtk.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 3d092d6..ee81ea5 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -5329,22 +5329,6 @@ create_range_controls (GtkWidget *widget)
gtk_widget_destroy (window);
}
-struct {
- GdkColor color;
- gchar *name;
-} text_colors[] = {
- { { 0, 0x0000, 0x0000, 0x0000 }, "black" },
- { { 0, 0xFFFF, 0xFFFF, 0xFFFF }, "white" },
- { { 0, 0xFFFF, 0x0000, 0x0000 }, "red" },
- { { 0, 0x0000, 0xFFFF, 0x0000 }, "green" },
- { { 0, 0x0000, 0x0000, 0xFFFF }, "blue" },
- { { 0, 0x0000, 0xFFFF, 0xFFFF }, "cyan" },
- { { 0, 0xFFFF, 0x0000, 0xFFFF }, "magenta" },
- { { 0, 0xFFFF, 0xFFFF, 0x0000 }, "yellow" }
-};
-
-int ntext_colors = sizeof(text_colors) / sizeof(text_colors[0]);
-
/*
* GtkNotebook
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]