Mercurial > hg > xmms-sid
view src/xs_about.c @ 46:ffb606e17bec
Re-added xs_about.c
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 20 Jun 2003 01:39:04 +0000 |
parents | |
children | 8207e95e0467 |
line wrap: on
line source
/* xmms-sid - SIDPlay input plugin for X MultiMedia System (XMMS) Aboutbox dialog Written by Matti "ccr" Hamalainen <ccr@tnsp.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "xmms-sid.h" #include <gtk/gtk.h> /* #include "xmms-sid-logo.xpm" */ static GtkWidget *xs_aboutwin = NULL; int xs_about_ok(void) { gtk_widget_destroy(xs_aboutwin); xs_aboutwin = NULL; return 0; } /* * Execute the aboutbox */ void xs_about(void) { /* Check if there already is an open about window */ if (xs_aboutwin != NULL) { gdk_window_raise(xs_aboutwin->window); return; } /* No, create one ... */ xs_aboutwin = create_xs_aboutwin(); gtk_widget_show(xs_aboutwin); }