Merging upstream version 0.5.4.
[debian/lxappearance.git] / src / utils.h
CommitLineData
1469f737
DB
1/*
2 * utils.h
3 *
4 * Copyright 2010 PCMan <pcman.tw@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
22#ifndef _UTILS_H_
23#define _UTILS_H_
24
25#include <gtk/gtk.h>
26#include "icon-theme.h"
27
28G_BEGIN_DECLS
29
30gboolean show_progress_for_pid(GtkWindow* parent, const char* title, const char* msg, GPid pid);
31
32gboolean install_icon_theme(GtkWindow* parent);
33gboolean remove_icon_theme(GtkWindow* parent, IconTheme* theme);
34
35G_END_DECLS
36
37#endif