Gnome basic functionality
- let the "#" key work as per Guidebook - role selection didn't work if you had gender specified in your .nethackrc similar problems would occur for other .nethackrc selections - fix an obvious memory leak - fix one crash bug from accessing a freed pointer (M-? dismiss M-?) - note some invalid behavior in comments for a real Gnome developer to fix - reformatted some code so I could follow it
This commit is contained in:
@@ -40,6 +40,7 @@ void ghack_text_window_clear(GtkWidget *widget, gpointer data)
|
||||
|
||||
void ghack_text_window_destroy()
|
||||
{
|
||||
TW_window = NULL;
|
||||
}
|
||||
|
||||
void ghack_text_window_display(GtkWidget *widget, boolean block,
|
||||
@@ -50,6 +51,8 @@ void ghack_text_window_display(GtkWidget *widget, boolean block,
|
||||
gtk_window_set_title(GTK_WINDOW( TW_window), "Rest In Peace");
|
||||
}
|
||||
|
||||
gtk_signal_connect (GTK_OBJECT (TW_window), "destroy",
|
||||
(GtkSignalFunc) ghack_text_window_destroy, NULL);
|
||||
if (block)
|
||||
gnome_dialog_run(GNOME_DIALOG(TW_window));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user