mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
Remove another erroneous GINT_TO_POINTER.
This one shouldn't have been there at all - it had a pointer argument already, not an int.
This commit is contained in:
3
gtk.c
3
gtk.c
@ -1336,8 +1336,7 @@ int message_box(GtkWidget *parent, char *title, char *msg, int centre,
|
|||||||
titles += strlen(titles)+1;
|
titles += strlen(titles)+1;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
gtk_object_set_data(GTK_OBJECT(window), "user-data",
|
gtk_object_set_data(GTK_OBJECT(window), "user-data", &i);
|
||||||
GINT_TO_POINTER(&i));
|
|
||||||
gtk_signal_connect(GTK_OBJECT(window), "destroy",
|
gtk_signal_connect(GTK_OBJECT(window), "destroy",
|
||||||
GTK_SIGNAL_FUNC(window_destroy), NULL);
|
GTK_SIGNAL_FUNC(window_destroy), NULL);
|
||||||
gtk_window_set_modal(GTK_WINDOW(window), TRUE);
|
gtk_window_set_modal(GTK_WINDOW(window), TRUE);
|
||||||
|
Reference in New Issue
Block a user