Fix build for the previous change

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* theme-installer.c (cleanup_tmp_dir):
	* theme-util.c (theme_delete): Fix build for the previous change


svn path=/trunk/; revision=8806
This commit is contained in:
Bastien Nocera 2008-07-28 13:28:05 +00:00 committed by Bastien Nocera
parent 8ed8f4c9ce
commit 946ecfafb6
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-07-28 Bastien Nocera <hadess@hadess.net>
* theme-installer.c (cleanup_tmp_dir):
* theme-util.c (theme_delete): Fix build for the previous change
2008-07-28 Bastien Nocera <hadess@hadess.net>
* theme-util.c:

View file

@ -28,6 +28,7 @@
#include <gio/gio.h>
#include <glib/gstdio.h>
#include "capplet-util.h"
#include "file-transfer-dialog.h"
#include "theme-installer.h"
#include "theme-util.h"
@ -57,7 +58,7 @@ cleanup_tmp_dir (GIOSchedulerJob *job,
GFile *directory;
directory = g_file_new_for_path (tmp_dir);
file_delete_recursive (directory, NULL);
capplet_file_delete_recursive (directory, NULL);
g_object_unref (directory);
return FALSE;

View file

@ -116,7 +116,7 @@ theme_delete (const gchar *name, ThemeType type)
dir = g_file_new_for_path (theme_dir);
g_free (theme_dir);
if (!file_delete_recursive (dir, NULL)) {
if (!capplet_file_delete_recursive (dir, NULL)) {
GtkWidget *info_dialog = gtk_message_dialog_new (NULL,
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,