Fix compiler warnings. Correct order of args to a gnome_vfs_xfer function.

2007-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-theme-details.c: (update_color_scheme_tab), (remove_theme),
	(gnome_theme_details_init):
	* gnome-theme-installer.c: (extract_files_error_dialog):
	* gnome-theme-manager.c: (get_lockdown_status):
	Fix compiler warnings. Correct order of args to a gnome_vfs_xfer
	function.

svn path=/trunk/; revision=7198
This commit is contained in:
Kjartan Maraas 2007-01-29 09:20:09 +00:00 committed by Kjartan Maraas
parent d033af5089
commit 3daf545d0c
4 changed files with 18 additions and 9 deletions

View file

@ -1,3 +1,12 @@
2007-01-29 Kjartan Maraas <kmaraas@gnome.org>
* gnome-theme-details.c: (update_color_scheme_tab), (remove_theme),
(gnome_theme_details_init):
* gnome-theme-installer.c: (extract_files_error_dialog):
* gnome-theme-manager.c: (get_lockdown_status):
Fix compiler warnings. Correct order of args to a gnome_vfs_xfer
function.
2007-01-26 Thomas Wood <thos@gnome.org>
Patch by: Alberto Ruiz <aruiz@synaptia.net>

View file

@ -203,7 +203,7 @@ gtk_theme_update_remove_button (GtkTreeSelection *selection,
}
static void
update_color_scheme_tab ()
update_color_scheme_tab (void)
{
GSList *symbolic_colors = NULL;
GSList *engines = NULL;
@ -472,8 +472,8 @@ remove_theme(GtkWidget *button, gpointer data)
uri_list = g_list_prepend(NULL, gnome_vfs_uri_new (theme_dir));
result = gnome_vfs_xfer_delete_list (uri_list, GNOME_VFS_XFER_RECURSIVE,
GNOME_VFS_XFER_ERROR_MODE_ABORT,
result = gnome_vfs_xfer_delete_list (uri_list, GNOME_VFS_XFER_ERROR_MODE_ABORT,
GNOME_VFS_XFER_RECURSIVE,
NULL, NULL);
if (result == GNOME_VFS_OK)
{
@ -501,7 +501,7 @@ remove_theme(GtkWidget *button, gpointer data)
}
}
void
static void
color_select (GtkWidget *colorbutton, GladeXML *dialog)
{
GConfClient *client = NULL;
@ -585,7 +585,7 @@ gnome_theme_details_init (void)
/* gtk themes */
widget = WID ("control_remove_button");
g_signal_connect (G_OBJECT (widget), "clicked", G_CALLBACK (remove_theme), THEME_GTK);
g_signal_connect (G_OBJECT (widget), "clicked", G_CALLBACK (remove_theme), (gint*)THEME_GTK);
widget = WID ("control_install_button");
g_signal_connect (G_OBJECT (widget), "clicked", G_CALLBACK (gnome_theme_installer_run_cb), parent);
@ -846,7 +846,7 @@ update_list_something (GtkWidget *tree_view, const gchar *theme)
}
}
void
static void
update_color_buttons_from_string (gchar *color_scheme)
{
GdkColor color_scheme_colors[6];

View file

@ -156,7 +156,7 @@ missing_utility_message_dialog (gchar *utility)
}
static void
extract_files_error_dialog ()
extract_files_error_dialog (void)
{
GtkWidget *dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
_("Can not install theme. \nThere was a problem while extracting the theme"));

View file

@ -963,7 +963,7 @@ update_settings_from_gconf_idle (gpointer data)
return FALSE;
}
void
static void
update_settings_from_gconf (void)
{
if (update_settings_from_gconf_idle_id != 0)
@ -1297,7 +1297,7 @@ revert_theme_clicked (GtkWidget *button,
/* Find out if the lockdown key has been set. Currently returns false on error... */
static gboolean
get_lockdown_status ()
get_lockdown_status (void)
{
GConfClient *client;
gboolean result;