[gtk+] tests/testgtk.c: Remove death code
- From: Javier JardÃn <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests/testgtk.c: Remove death code
- Date: Tue, 20 Dec 2011 17:52:30 +0000 (UTC)
commit 9635759548d3999f23dd02090394fe4dd640f4b6
Author: Javier JardÃn <jjardon gnome org>
Date: Tue Dec 20 17:51:59 2011 +0000
tests/testgtk.c: Remove death code
tests/testgtk.c | 49 -------------------------------------------------
1 files changed, 0 insertions(+), 49 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 026d32a..78520c4 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -4812,55 +4812,6 @@ create_cursors (GtkWidget *widget)
*/
void
-color_selection_ok (GtkWidget *w,
- GtkColorSelectionDialog *cs)
-{
- GtkWidget *colorsel;
- GdkColor color;
-
- colorsel = gtk_color_selection_dialog_get_color_selection (cs);
-
- gtk_color_selection_get_current_color (GTK_COLOR_SELECTION (colorsel), &color);
- gtk_color_selection_set_current_color (GTK_COLOR_SELECTION (colorsel), &color);
-}
-
-void
-color_selection_changed (GtkWidget *w,
- GtkColorSelectionDialog *cs)
-{
- GtkWidget *colorsel;
- GdkColor color;
-
- colorsel = gtk_color_selection_dialog_get_color_selection (cs);
- gtk_color_selection_get_current_color (GTK_COLOR_SELECTION (colorsel), &color);
- gtk_color_selection_set_current_color (GTK_COLOR_SELECTION (colorsel), &color);
-}
-
-#if 0 /* unused */
-static void
-opacity_toggled_cb (GtkWidget *w,
- GtkColorSelectionDialog *cs)
-{
- GtkColorSelection *colorsel;
-
- colorsel = GTK_COLOR_SELECTION (cs->colorsel);
- gtk_color_selection_set_has_opacity_control (colorsel,
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w)));
-}
-
-static void
-palette_toggled_cb (GtkWidget *w,
- GtkColorSelectionDialog *cs)
-{
- GtkColorSelection *colorsel;
-
- colorsel = GTK_COLOR_SELECTION (cs->colorsel);
- gtk_color_selection_set_has_palette (colorsel,
- gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w)));
-}
-#endif
-
-void
create_color_selection (GtkWidget *widget)
{
static GtkWidget *window = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]