Mercurial > pidgin
comparison src/gtkdebug.c @ 5636:11233ca9f533
[gaim-migrate @ 6043]
now you can close the debug window with your window manager again
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Sun, 01 Jun 2003 16:11:05 +0000 |
| parents | 960fe32ea9b7 |
| children | 1693a3027dc8 |
comparison
equal
deleted
inserted
replaced
| 5635:c6fb44711ab2 | 5636:11233ca9f533 |
|---|---|
| 182 | 182 |
| 183 static void | 183 static void |
| 184 debug_enabled_cb(const char *name, GaimPrefType type, gpointer value, | 184 debug_enabled_cb(const char *name, GaimPrefType type, gpointer value, |
| 185 gpointer data) | 185 gpointer data) |
| 186 { | 186 { |
| 187 if (debug_win == NULL) | 187 if (value) |
| 188 gaim_gtk_debug_window_show(); | 188 gaim_gtk_debug_window_show(); |
| 189 else | 189 else |
| 190 gaim_gtk_debug_window_hide(); | 190 gaim_gtk_debug_window_hide(); |
| 191 } | 191 } |
| 192 | 192 |
