[gnome-devel-docs] platform-demos: C: Fix GTK_BUTTON cast, bug 677130
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] platform-demos: C: Fix GTK_BUTTON cast, bug 677130
- Date: Mon, 25 Feb 2013 13:44:17 +0000 (UTC)
commit af8771df21d84a5bc9cf1a4c4222a8910bdc3f68
Author: David King <amigadave amigadave com>
Date: Mon Feb 25 13:43:46 2013 +0000
platform-demos: C: Fix GTK_BUTTON cast, bug 677130
platform-demos/C/samples/button.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/platform-demos/C/samples/button.c b/platform-demos/C/samples/button.c
index af0cfbc..3fc1af9 100644
--- a/platform-demos/C/samples/button.c
+++ b/platform-demos/C/samples/button.c
@@ -38,7 +38,7 @@ activate (GtkApplication *app,
gtk_container_add (GTK_CONTAINER (window), button);
/*Connecting the clicked signal to the callback function*/
- g_signal_connect (GTK_Button (button),
+ g_signal_connect (GTK_BUTTON (button),
"clicked",
G_CALLBACK (button_clicked),
G_OBJECT (window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]