summaryrefslogtreecommitdiff
path: root/ui/gtk/supported_protos_dlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/supported_protos_dlg.c')
-rw-r--r--ui/gtk/supported_protos_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/supported_protos_dlg.c b/ui/gtk/supported_protos_dlg.c
index 632839cced..3d02666a46 100644
--- a/ui/gtk/supported_protos_dlg.c
+++ b/ui/gtk/supported_protos_dlg.c
@@ -149,7 +149,7 @@ void supported_cb(GtkWidget *w _U_, gpointer data _U_)
gtk_box_pack_end(GTK_BOX(main_vb), bbox, FALSE, FALSE, 0);
gtk_widget_show(bbox);
- ok_bt = g_object_get_data(G_OBJECT(bbox), GTK_STOCK_OK);
+ ok_bt = (GtkWidget *)g_object_get_data(G_OBJECT(bbox), GTK_STOCK_OK);
window_set_cancel_button(supported_w, ok_bt, window_cancel_button_cb);
g_signal_connect(supported_w, "delete_event", G_CALLBACK(window_delete_event_cb), NULL);