From c435e891b0fbd8aa19530a92d7791a32d55586b1 Mon Sep 17 00:00:00 2001 From: Timothee Besset Date: Sat, 22 Apr 2017 13:13:59 -0500 Subject: [PATCH] cleanup dead code --- radiant/gtkdlgs.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index de236842..70f7bff1 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -2074,22 +2074,6 @@ void DoThickenDlg(){ static const int ABT_WIDGET_PADDING = 8; -//! @note kaz 04/01/2012 - not in use -void about_button_changelog( GtkWidget *widget, gpointer data ){ - Str log; - log = g_strAppPath; - log += "changelog.txt"; - OpenURL( widget, log.GetBuffer() ); -} - -//! @note kaz 04/01/2012 - not in use -void about_button_credits( GtkWidget *widget, gpointer data ){ - Str cred; - cred = g_strAppPath; - cred += "credits.html"; - OpenURL( widget, cred.GetBuffer() ); -} - void DoAbout(){ GtkWidget *dialog, *content_area, *button; GtkDialogFlags flags = GTK_DIALOG_DESTROY_WITH_PARENT; @@ -2225,20 +2209,6 @@ void DoAbout(){ gtk_widget_show( gl_ext_textview ); - /* - button = gtk_button_new_with_label( _( "Credits" ) ); - gtk_widget_show( button ); - gtk_box_pack_end( GTK_BOX( button_hbox ), button, FALSE, FALSE, 0 ); - g_signal_connect( G_OBJECT( button ), "clicked", - G_CALLBACK( about_button_credits ), NULL ); - - button = gtk_button_new_with_label( _( "Changelog" ) ); - gtk_widget_show( button ); - gtk_box_pack_end( GTK_BOX( button_hbox ), button, FALSE, FALSE, 0 ); - g_signal_connect( G_OBJECT( button ), "clicked", - G_CALLBACK( about_button_changelog ), NULL ); - */ - gtk_dialog_run( GTK_DIALOG( dialog ) ); gtk_widget_destroy( dialog );