diff src/shnplug/gtk.c @ 2192:e5401b6c4665

the same thing in many plugins
author Eugene Zagidullin <e.asphyx@gmail.com>
date Wed, 28 Nov 2007 03:51:34 +0300
parents b8da6a0b0da2
children 194c2f8c2a92
line wrap: on
line diff
--- a/src/shnplug/gtk.c	Wed Nov 28 02:50:15 2007 +0300
+++ b/src/shnplug/gtk.c	Wed Nov 28 03:51:34 2007 +0300
@@ -78,7 +78,7 @@
 {
 	if (about_box != NULL)
 	{
-		gdk_window_raise(about_box->window);
+                gtk_window_present(GTK_WINDOW(about_box));
 		return;
 	}
 
@@ -153,7 +153,7 @@
 {
 	if (shn_configurewin != NULL)
 	{
-		gdk_window_raise(shn_configurewin->window);
+                gtk_window_present(GTK_WINDOW(shn_configurewin));
 		return;
 	}