/*
	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; You may only use version 2 of the License,
	you have no option to use any other 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., 675 Mass Ave, Cambridge, MA 02139, USA.

        from gnome theme-switcher capplet - (c) Jonathan Blandford <jrb@gnome.org>

 */

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#ifndef __GTK_COMMON_H__
#define __GTK_COMMON_H__

#include <gtk/gtk.h>
#include <X11/Xlib.h>

enum
{
    THEME_NAME_COLUMN,
    N_COLUMNS
};

typedef struct _ThemeInfo ThemeInfo;
struct _ThemeInfo
{
    gchar *path;
    gchar *name;
    guint has_gtk:1;
    guint has_keybinding:1;
    guint user_writable:1;
};

GList *theme_common_get_list(GList *);

#endif /* __GTK_COMMON_H__ */


syntax highlighted by Code2HTML, v. 0.9.1