[gtk+] testsensitive: Remove deprecated part
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testsensitive: Remove deprecated part
- Date: Tue, 2 Apr 2013 09:48:36 +0000 (UTC)
commit d80dedf46e3872f426433c71deb3cc9cc1090b56
Author: Benjamin Otte <otte redhat com>
Date: Mon Apr 1 15:37:04 2013 +0200
testsensitive: Remove deprecated part
tests/testsensitive.c | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/tests/testsensitive.c b/tests/testsensitive.c
index 52ed27e..3a54f56 100644
--- a/tests/testsensitive.c
+++ b/tests/testsensitive.c
@@ -13,30 +13,6 @@ state_changed (GtkWidget *widget)
const gchar *sep;
g_print ("state changed: \n");
- switch (gtk_widget_get_state (widget))
- {
- case GTK_STATE_ACTIVE:
- g_print ("active, ");
- break;
- case GTK_STATE_PRELIGHT:
- g_print ("prelight, ");
- break;
- case GTK_STATE_SELECTED:
- g_print ("selected, ");
- break;
- case GTK_STATE_INSENSITIVE:
- g_print ("insensitive, ");
- break;
- case GTK_STATE_INCONSISTENT:
- g_print ("inconsistent, ");
- break;
- case GTK_STATE_FOCUSED:
- g_print ("focused, ");
- break;
- case GTK_STATE_NORMAL:
- g_print ("normal, ");
- break;
- }
flags = gtk_widget_get_state_flags (widget);
sep = "";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]