[gtk+/wip/otte/gtk4: 84/121] testsensitive: Use state-flags-changed instead of state-changed
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/gtk4: 84/121] testsensitive: Use state-flags-changed instead of state-changed
- Date: Fri, 7 Oct 2016 04:09:10 +0000 (UTC)
commit 96bf0823a7a88b4db0e8122d1b94f0c014f6f587
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]