Kaydet (Commit) 845902f8 authored tarafından Enrico Tröger's avatar Enrico Tröger

replaced deprecated symbols


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@176 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst b1438f66
......@@ -335,8 +335,8 @@ void on_button4_clicked(GtkButton *button, gpointer user_data)
GtkWidget *dialog = create_help_dialog();
GtkTextBuffer *buffer;
gtk_signal_connect(GTK_OBJECT(dialog), "delete_event", GTK_SIGNAL_FUNC(destroydialog), GTK_OBJECT(dialog));
gtk_signal_connect_object(GTK_OBJECT(okbutton1), "clicked", GTK_SIGNAL_FUNC(destroydialog), GTK_OBJECT(dialog));
g_signal_connect(G_OBJECT(dialog), "delete_event", G_CALLBACK(destroydialog), G_OBJECT(dialog));
g_signal_connect(G_OBJECT(okbutton1), "clicked", G_CALLBACK(destroydialog), G_OBJECT(dialog));
buffer = gtk_text_buffer_new(NULL);
gtk_text_buffer_set_text(buffer, help_text, strlen(help_text));
......@@ -1281,7 +1281,7 @@ void gb_start_easteregg(void)
random_fd = -1;
load_images();
create_window();
gtk_signal_connect(GTK_OBJECT(gb_window), "delete_event", GTK_SIGNAL_FUNC(gb_destroyapp), NULL);
g_signal_connect(G_OBJECT(gb_window), "delete_event", G_CALLBACK(gb_destroyapp), NULL);
points = 0;
lap = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment