2007-08-09 Jens Granseuer <jensgr@gmx.net> * appearance-themes.c: (theme_drag_data_received_cb), (themes_init): restrict drag'n'drop installation to the theme tab instead of the entire window so lockdown works properly * theme-installer.c: (gnome_theme_install_from_uri), (gnome_theme_installer_run): * theme-installer.h: fix double-free and use-after-free svn path=/trunk/; revision=7985
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2007 The GNOME Foundation
|
|
* Written by Thomas Wood <thos@gnome.org>
|
|
* Jens Granseuer <jensgr@gmx.net>
|
|
* All Rights Reserved
|
|
*
|
|
* 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.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef THEME_INSTALLER_H
|
|
#define THEME_INSTALLER_H
|
|
|
|
void gnome_theme_install_from_uri (const gchar *filename, GtkWindow *parent);
|
|
void gnome_theme_installer_run (GtkWindow *parent, const gchar *filename);
|
|
|
|
#endif /* THEME_INSTALLER_H */
|