Mercurial > hg > xmms-sid
comparison src/xs_about.c @ 665:94186706beed
Use macro wrapping for Gtk+ v1 vs v2 differences, yet again.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Apr 2008 00:44:33 +0300 |
parents | b0743dc9165d |
children | 9321ffa2ea7e |
comparison
equal
deleted
inserted
replaced
664:0fef72dce601 | 665:94186706beed |
---|---|
70 GtkWidget *about_close; | 70 GtkWidget *about_close; |
71 gchar tmpStr[64]; | 71 gchar tmpStr[64]; |
72 | 72 |
73 /* Check if there already is an open about window */ | 73 /* Check if there already is an open about window */ |
74 if (xs_aboutwin != NULL) { | 74 if (xs_aboutwin != NULL) { |
75 gdk_window_raise(xs_aboutwin->window); | 75 XS_WINDOW_PRESENT(xs_aboutwin); |
76 return; | 76 return; |
77 } | 77 } |
78 | 78 |
79 /* No, create one ... */ | 79 /* No, create one ... */ |
80 xs_aboutwin = gtk_window_new(GTK_WINDOW_DIALOG); | 80 xs_aboutwin = gtk_window_new(GTK_WINDOW_DIALOG); |