diff src/vorbis/vorbis.c @ 2191:329267b09658

get rid of talking with GDK directly
author Eugene Zagidullin <e.asphyx@gmail.com>
date Wed, 28 Nov 2007 02:50:15 +0300
parents fd0d5615f674
children 201a47338baf
line wrap: on
line diff
--- a/src/vorbis/vorbis.c	Tue Nov 27 18:03:20 2007 +0300
+++ b/src/vorbis/vorbis.c	Wed Nov 28 02:50:15 2007 +0300
@@ -126,6 +126,7 @@
 GMutex *vf_mutex;
 
 gchar **vorbis_tag_encoding_list = NULL;
+static GtkWidget *about_window;
 
 static int
 vorbis_check_fd(char *filename, VFSFile *stream)
@@ -725,10 +726,8 @@
 static void
 vorbis_aboutbox(void)
 {
-    static GtkWidget *about_window;
-
     if (about_window)
-        gdk_window_raise(about_window->window);
+        gtk_window_present(GTK_WINDOW(about_window));
     else
     {
       about_window = audacious_info_dialog(_("About Ogg Vorbis Audio Plugin"),