This is a patch file for "treesize" 0.54.1. This file fixes a problem with the program's About screen. Details: If the release in question is used with newer versions of "gtk", the Close button on the About screen doesn't work. The problem occurs because the About screen uses a "gtk" dialog named GtkAbout- Dialog, and the characteristics of GtkAboutDialog have changed. Spe- cifically, GtkAboutDialog expects the programmer to process close- button events explicitly, and the old About-screen code doesn't take this into account. The following change seems to correct the pro- blem. Note: This file should be compatible with all distros that support the original program. --- treesize-0.54.1.old/src/interface.c +++ treesize-0.54.1/src/interface.c @@ -289,6 +289,11 @@ G_CALLBACK (gtk_widget_destroy), NULL); + g_signal_connect (GTK_ABOUT_DIALOG (AboutDialog), "close" , + G_CALLBACK (gtk_widget_hide), NULL); + g_signal_connect (GTK_ABOUT_DIALOG (AboutDialog), "response" , + G_CALLBACK (gtk_widget_hide), NULL); + /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (AboutDialog, AboutDialog, "AboutDialog"); GLADE_HOOKUP_OBJECT (AboutDialog, dialog_vbox3, "dialog_vbox3");