comparison src/sid/xs_about.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 e685ac3817fb
children 492b25415054
comparison
equal deleted inserted replaced
2191:329267b09658 2192:e5401b6c4665
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 gtk_window_present(GTK_WINDOW(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_TOPLEVEL); 80 xs_aboutwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);