diff options
author | Garrett Regier <garrettregier@gmail.com> | 2011-09-01 05:02:23 -0700 |
---|---|---|
committer | Garrett Regier <garrettregier@gmail.com> | 2011-09-18 07:09:56 -0700 |
commit | f8106cba573fd8812999e956942a5e6354b2990c (patch) | |
tree | 7816d60219ee0f45b9e451967ab6dd37436ed53f /peas-demo | |
parent | 14c40c71c028372e4efd652e6dbb3e51ed28b765 (diff) | |
download | libpeas-f8106cba573fd8812999e956942a5e6354b2990c.tar.gz |
Use peas_extension_set_foreach() in the demo
Diffstat (limited to 'peas-demo')
-rw-r--r-- | peas-demo/peas-demo-window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/peas-demo/peas-demo-window.c b/peas-demo/peas-demo-window.c index aca100f..30d72c9 100644 --- a/peas-demo/peas-demo-window.c +++ b/peas-demo/peas-demo-window.c @@ -64,7 +64,9 @@ demo_window_init (DemoWindow *dw) "object", dw, NULL); - peas_extension_set_call (dw->exten_set, "activate"); + peas_extension_set_foreach (dw->exten_set, + (PeasExtensionSetForeachFunc) on_extension_added, + dw); g_signal_connect (dw->exten_set, "extension-added", G_CALLBACK (on_extension_added), dw); g_signal_connect (dw->exten_set, "extension-removed", G_CALLBACK (on_extension_removed), dw); |