mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 12:01:10 +00:00
cleanup dead code
This commit is contained in:
parent
12b5a1c766
commit
c435e891b0
1 changed files with 0 additions and 30 deletions
|
@ -2074,22 +2074,6 @@ void DoThickenDlg(){
|
||||||
|
|
||||||
static const int ABT_WIDGET_PADDING = 8;
|
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(){
|
void DoAbout(){
|
||||||
GtkWidget *dialog, *content_area, *button;
|
GtkWidget *dialog, *content_area, *button;
|
||||||
GtkDialogFlags flags = GTK_DIALOG_DESTROY_WITH_PARENT;
|
GtkDialogFlags flags = GTK_DIALOG_DESTROY_WITH_PARENT;
|
||||||
|
@ -2225,20 +2209,6 @@ void DoAbout(){
|
||||||
gtk_widget_show( gl_ext_textview );
|
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_dialog_run( GTK_DIALOG( dialog ) );
|
||||||
|
|
||||||
gtk_widget_destroy( dialog );
|
gtk_widget_destroy( dialog );
|
||||||
|
|
Loading…
Reference in a new issue