[gnome-control-center/wip/jsparber/background: 19/29] background: CcBackgroundGridItem::new returns its own typ
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/jsparber/background: 19/29] background: CcBackgroundGridItem::new returns its own typ
- Date: Sat, 17 Feb 2018 18:12:01 +0000 (UTC)
commit 302c3b4743840808e3f4ae6b55d30b72dc897bc8
Author: Julian Sparber <julian sparber net>
Date: Thu Feb 1 16:11:27 2018 +0100
background: CcBackgroundGridItem::new returns its own typ
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, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/background/cc-background-grid-item.c b/panels/background/cc-background-grid-item.c
index d18068f14..5fc28e2d2 100644
--- a/panels/background/cc-background-grid-item.c
+++ b/panels/background/cc-background-grid-item.c
@@ -133,7 +133,7 @@ on_gallery_item_draw (GtkWidget *widget,
return TRUE;
}
-GtkDrawingArea*
+CcBackgroundGridItem *
cc_background_grid_item_new (CcBackgroundItem *item,
GdkPixbuf *pixbuf)
{
diff --git a/panels/background/cc-background-grid-item.h b/panels/background/cc-background-grid-item.h
index f67736ca1..3778f55a2 100644
--- a/panels/background/cc-background-grid-item.h
+++ b/panels/background/cc-background-grid-item.h
@@ -31,7 +31,7 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (CcBackgroundGridItem, cc_background_grid_item, CC, BACKGROUND_GRID_LIST,
GtkDrawingArea)
-GtkDrawingArea *cc_background_grid_item_new (CcBackgroundItem *,
+CcBackgroundGridItem *cc_background_grid_item_new (CcBackgroundItem *,
GdkPixbuf *);
CcBackgroundItem *cc_background_grid_item_get_item (GtkWidget *);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]