[gnome-control-center/wip/jsparber/background] [refactor] make cc_background_grid_item_set_ref static and private
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/jsparber/background] [refactor] make cc_background_grid_item_set_ref static and private
- Date: Wed, 31 Jan 2018 22:45:56 +0000 (UTC)
commit 1bde5cc7000585b791c5fe4a2fd06e3ecb8026db
Author: Julian Sparber <julian sparber net>
Date: Mon Jan 15 15:49:49 2018 +0100
[refactor] make cc_background_grid_item_set_ref static and private
https://bugzilla.gnome.org/show_bug.cgi?id=788515
panels/background/cc-background-grid-item.c | 2 +-
panels/background/cc-background-grid-item.h | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/panels/background/cc-background-grid-item.c b/panels/background/cc-background-grid-item.c
index 87eeb8b..dcb0438 100644
--- a/panels/background/cc-background-grid-item.c
+++ b/panels/background/cc-background-grid-item.c
@@ -149,7 +149,7 @@ CcBackgroundItem * cc_background_grid_item_get_ref (GtkWidget *widget)
CcBackgroundGridItem *self = (CcBackgroundGridItem *) widget;
return self->item;
}
-void
+static void
cc_background_grid_item_set_ref (GtkWidget *widget,
CcBackgroundItem *item)
{
diff --git a/panels/background/cc-background-grid-item.h b/panels/background/cc-background-grid-item.h
index af1b92f..29161f4 100644
--- a/panels/background/cc-background-grid-item.h
+++ b/panels/background/cc-background-grid-item.h
@@ -33,8 +33,6 @@ G_DECLARE_FINAL_TYPE (CcBackgroundGridItem, cc_background_grid_item, CC, BACKGRO
GtkWidget * cc_background_grid_item_new (CcBackgroundItem *,
GdkPixbuf *);
-void cc_background_grid_item_set_ref (GtkWidget *,
- CcBackgroundItem *);
CcBackgroundItem * cc_background_grid_item_get_ref (GtkWidget *);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]