summaryrefslogtreecommitdiff
path: root/peas-demo
diff options
context:
space:
mode:
authorGarrett Regier <garrettregier@gmail.com>2011-12-08 08:09:56 -0800
committerGarrett Regier <garrettregier@gmail.com>2011-12-08 08:09:56 -0800
commit974037f20e1d299a4add2e425ee8f7a1bf466b59 (patch)
tree768689921632e6842a906df31d80c4a138a61587 /peas-demo
parent7c3a39a988f78c9b317760a271f4962b6d36de2a (diff)
downloadlibpeas-974037f20e1d299a4add2e425ee8f7a1bf466b59.tar.gz
Bump glib version to 2.28
Diffstat (limited to 'peas-demo')
-rw-r--r--peas-demo/peas-demo-window.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/peas-demo/peas-demo-window.c b/peas-demo/peas-demo-window.c
index 30d72c9..27777d3 100644
--- a/peas-demo/peas-demo-window.c
+++ b/peas-demo/peas-demo-window.c
@@ -77,11 +77,7 @@ demo_window_dispose (GObject *object)
{
DemoWindow *dw = DEMO_WINDOW (object);
- if (dw->exten_set != NULL)
- {
- g_object_unref (dw->exten_set);
- dw->exten_set = NULL;
- }
+ g_clear_object (&dw->exten_set);
G_OBJECT_CLASS (demo_window_parent_class)->dispose (object);
}