[gtk+/gtk-style-context: 318/533] Fix compile warning
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 318/533] Fix compile warning
- Date: Wed, 1 Dec 2010 02:32:33 +0000 (UTC)
commit 6b6a932cb2d0cb3d203473ff59f61b31c9353d1f
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Nov 3 21:10:06 2010 +0100
Fix compile warning
gtk/gtksettings.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index cbfa7a7..ea55a53 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -2633,10 +2633,12 @@ settings_update_theme (GtkSettings *settings)
if (new_provider != provider)
{
if (provider)
- gtk_style_context_remove_provider_for_screen (settings->screen, provider);
+ gtk_style_context_remove_provider_for_screen (settings->screen,
+ GTK_STYLE_PROVIDER (provider));
if (new_provider)
- gtk_style_context_add_provider_for_screen (settings->screen, new_provider,
+ gtk_style_context_add_provider_for_screen (settings->screen,
+ GTK_STYLE_PROVIDER (new_provider),
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS + 1);
g_object_set_qdata_full (G_OBJECT (settings), quark_theme_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]