[gnome-control-center] Fix compiler warnings
- From: Jens Granseuer <jensg src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Fix compiler warnings
- Date: Mon, 7 Sep 2009 21:20:36 +0000 (UTC)
commit 6f0e76b1a7dbde7351abb899255e79e49e1e70e5
Author: Jens Granseuer <jensgr gmx net>
Date: Mon Sep 7 23:16:16 2009 +0200
Fix compiler warnings
capplets/appearance/appearance-desktop.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/capplets/appearance/appearance-desktop.c b/capplets/appearance/appearance-desktop.c
index 6580330..b0043dc 100644
--- a/capplets/appearance/appearance-desktop.c
+++ b/capplets/appearance/appearance-desktop.c
@@ -1027,7 +1027,7 @@ create_button_images (AppearanceData *data)
g_object_unref (pb2);
}
-static gboolean
+static void
next_frame (AppearanceData *data,
GtkCellRenderer *cr,
gint direction)
@@ -1108,7 +1108,7 @@ wp_selected_changed_cb (GtkIconView *view,
cells = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (data->wp_view));
for (l = cells; l; l = l->next) {
cr = l->data;
- if (g_object_get_data (cr, "buttons"))
+ if (g_object_get_data (G_OBJECT (cr), "buttons"))
g_object_set (cr, "pixbuf", buttons[0], NULL);
}
g_list_free (cells);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]