diff options
| author | Simon Tatham <anakin@pobox.com> | 2014-11-29 10:39:00 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2014-11-29 10:39:00 +0000 |
| commit | f806528a309d62f836d39ad9cc703e7592c9f68b (patch) | |
| tree | 38e8f49b75f6baafda5e5bb51f7dca42d29a2a89 | |
| parent | 2fe0667f519a825e6c028b4365312a144b343d62 (diff) | |
| download | puzzles-f806528a309d62f836d39ad9cc703e7592c9f68b.zip puzzles-f806528a309d62f836d39ad9cc703e7592c9f68b.tar.gz puzzles-f806528a309d62f836d39ad9cc703e7592c9f68b.tar.bz2 puzzles-f806528a309d62f836d39ad9cc703e7592c9f68b.tar.xz | |
Remove another erroneous GINT_TO_POINTER.
This one shouldn't have been there at all - it had a pointer argument
already, not an int.
| -rw-r--r-- | gtk.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1336,8 +1336,7 @@ int message_box(GtkWidget *parent, char *title, char *msg, int centre, titles += strlen(titles)+1; i++; } - gtk_object_set_data(GTK_OBJECT(window), "user-data", - GINT_TO_POINTER(&i)); + gtk_object_set_data(GTK_OBJECT(window), "user-data", &i); gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(window_destroy), NULL); gtk_window_set_modal(GTK_WINDOW(window), TRUE); |