[gtk+/wip/baedert/box: 1/13] testsensitive: Use state-flags-changed instead of state-changed
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/box: 1/13] testsensitive: Use state-flags-changed instead of state-changed
- Date: Tue, 4 Oct 2016 16:48:31 +0000 (UTC)
commit 9f4db97a25e608432ecb062a35c7c6a75838d1d5
Author: Timm Bäder <mail baedert org>
Date: Tue Oct 4 18:46:39 2016 +0200
testsensitive: Use state-flags-changed instead of state-changed
tests/testsensitive.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/testsensitive.c b/tests/testsensitive.c
index b7c8f63..7ecaf36 100644
--- a/tests/testsensitive.c
+++ b/tests/testsensitive.c
@@ -7,7 +7,7 @@ set_insensitive (GtkButton *b, GtkWidget *w)
}
static void
-state_changed (GtkWidget *widget)
+state_flags_changed (GtkWidget *widget)
{
GtkStateFlags flags;
const gchar *sep;
@@ -75,7 +75,7 @@ int main (int argc, char *argv[])
gtk_widget_set_valign (c, GTK_ALIGN_CENTER);
gtk_box_pack_start (GTK_BOX (box), c, TRUE, TRUE);
g_signal_connect (bu, "clicked", G_CALLBACK (set_insensitive), w);
- g_signal_connect (bu, "state-changed", G_CALLBACK (state_changed), NULL);
+ g_signal_connect (bu, "state-flags-changed", G_CALLBACK (state_flags_changed), NULL);
g_object_bind_property (c, "active", w, "sensitive", G_BINDING_BIDIRECTIONAL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]