X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e762ef8f531bd3c48761b39e4b6c96f9a7443020..bb996f289574defb0ae4339ae8e46ff3cf6fa54c:/src/gtk/assertdlg_gtk.cpp diff --git a/src/gtk/assertdlg_gtk.cpp b/src/gtk/assertdlg_gtk.cpp index 1ec690b733..bdcd83c086 100644 --- a/src/gtk/assertdlg_gtk.cpp +++ b/src/gtk/assertdlg_gtk.cpp @@ -45,9 +45,7 @@ GtkWidget *gtk_assert_dialog_add_button_to (GtkBox *box, const gchar *label, /* add a stock icon inside it */ GtkWidget *image = gtk_image_new_from_stock (stock, GTK_ICON_SIZE_BUTTON); -#if GTK_CHECK_VERSION(2,6,0) gtk_button_set_image (GTK_BUTTON (button), image); -#endif /* add to the given (container) widget */ if (box) @@ -300,7 +298,7 @@ static void gtk_assert_dialog_init(GtkAssertDialog* dlg) /* add the expander */ dlg->expander = gtk_expander_new_with_mnemonic ("Back_trace:"); gtk_box_pack_start (GTK_BOX(vbox), dlg->expander, TRUE, TRUE, 0); - g_signal_connect (GTK_EXPANDER(dlg->expander), "activate", + g_signal_connect (dlg->expander, "activate", G_CALLBACK(gtk_assert_dialog_expander_callback), dlg); }