summaryrefslogtreecommitdiff
path: root/eel/eel-background.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-01-21 12:25:13 +0800
committerlukefromdc <[email protected]>2019-01-22 04:36:49 +0000
commit10efec8be67f2254ecaf197801e67e59d6d2a467 (patch)
tree30202b0af7dd4b45a6f6b93694f8d50822477608 /eel/eel-background.c
parentf58095e30b2d3b624bff536c37540dffaf22dc8b (diff)
downloadcaja-10efec8be67f2254ecaf197801e67e59d6d2a467.tar.bz2
caja-10efec8be67f2254ecaf197801e67e59d6d2a467.tar.xz
[eel][libegg] Use G_DEFINE_TYPE_WITH_PRIVATE macro
Replace G_DEFINE_TYPE_WITH_CODE with G_DEFINE_TYPE_WITH_PRIVATE macro
Diffstat (limited to 'eel/eel-background.c')
-rw-r--r--eel/eel-background.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eel/eel-background.c b/eel/eel-background.c
index e107f7db..9f4bc0c9 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -80,8 +80,7 @@ struct EelBackgroundPrivate
static GList *desktop_bg_objects = NULL;
-G_DEFINE_TYPE_WITH_CODE (EelBackground, eel_background, G_TYPE_OBJECT,
- G_ADD_PRIVATE (EelBackground))
+G_DEFINE_TYPE_WITH_PRIVATE (EelBackground, eel_background, G_TYPE_OBJECT)
static void
free_fade (EelBackground *self)