summaryrefslogtreecommitdiff
path: root/capplets/appearance/theme-util.c
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-08 04:01:38 -0300
committerPerberos <[email protected]>2011-12-08 04:01:38 -0300
commit8e68aa4f36fd333cb4f3c65efd7b0525a793299e (patch)
tree98c5d74fabbd6035f29be806b5230f9d11e0d9ed /capplets/appearance/theme-util.c
parentc9b0659767febba8b1852c3c5726d55983c22e28 (diff)
downloadmate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.bz2
mate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.xz
removing deprecated GDK_DISPLAY()
Diffstat (limited to 'capplets/appearance/theme-util.c')
-rw-r--r--capplets/appearance/theme-util.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/capplets/appearance/theme-util.c b/capplets/appearance/theme-util.c
index 2305b0f9..69a0423a 100644
--- a/capplets/appearance/theme-util.c
+++ b/capplets/appearance/theme-util.c
@@ -29,8 +29,7 @@
#include "capplet-util.h"
#include "theme-util.h"
-gboolean
-theme_is_writable (const gpointer theme)
+gboolean theme_is_writable (const gpointer theme)
{
MateThemeCommonInfo *info = theme;
GFile *file;
@@ -57,8 +56,7 @@ theme_is_writable (const gpointer theme)
return writable;
}
-gboolean
-theme_delete (const gchar *name, ThemeType type)
+gboolean theme_delete (const gchar *name, ThemeType type)
{
gboolean rc;
GtkDialog *dialog;
@@ -140,8 +138,7 @@ theme_delete (const gchar *name, ThemeType type)
return rc;
}
-gboolean
-theme_model_iter_last (GtkTreeModel *model, GtkTreeIter *iter)
+gboolean theme_model_iter_last (GtkTreeModel *model, GtkTreeIter *iter)
{
GtkTreeIter walk, prev;
gboolean valid;
@@ -160,8 +157,7 @@ theme_model_iter_last (GtkTreeModel *model, GtkTreeIter *iter)
return FALSE;
}
-gboolean
-theme_find_in_model (GtkTreeModel *model, const gchar *name, GtkTreeIter *iter)
+gboolean theme_find_in_model (GtkTreeModel *model, const gchar *name, GtkTreeIter *iter)
{
GtkTreeIter walk;
gboolean valid;
@@ -190,8 +186,7 @@ theme_find_in_model (GtkTreeModel *model, const gchar *name, GtkTreeIter *iter)
return FALSE;
}
-gboolean
-packagekit_available (void)
+gboolean packagekit_available (void)
{
DBusGConnection *connection;
DBusGProxy *proxy;