cleanup dead code

This commit is contained in:
Timothee Besset 2017-04-22 13:13:59 -05:00
parent 12b5a1c766
commit c435e891b0

View file

@ -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 );