Mercurial > pidgin.yaz
diff src/about.c @ 9716:8158d148b3c2
[gaim-migrate @ 10577]
Changed the use of localtime_r to localtime in util.c
Also changed some spaces to tabs
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 08 Aug 2004 14:06:58 +0000 |
| parents | 4d05b6e9e9cd |
| children |
line wrap: on
line diff
--- a/src/about.c Sun Aug 08 08:17:38 2004 +0000 +++ b/src/about.c Sun Aug 08 14:06:58 2004 +0000 @@ -22,10 +22,12 @@ */ #include "internal.h" +#include "gtkinternal.h" + +#include "gtkdialogs.h" #include "gtkimhtml.h" #include "gtkutils.h" #include "stock.h" -#include "gtkdialogs.h" /* XXX For WEBSITE */ #include "gaim.h" @@ -34,7 +36,7 @@ static void destroy_about() { - if (about) + if (about != NULL) gtk_widget_destroy(about); about = NULL; } @@ -52,8 +54,10 @@ GtkTextIter iter; char *str, *labeltext; - if (about != NULL) + if (about != NULL) { + gtk_window_present(GTK_WINDOW(about)); return; + } GAIM_DIALOG(about); gtk_window_set_default_size(GTK_WINDOW(about), 450, -1);
