aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-completion-test.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-17 07:49:31 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-17 07:49:31 +0800
commitd8e4ebebc320c72ae93c88dc43d8ae220a94331d (patch)
treeee09f7d541eed7543ec2fb0edbc54c8723c15176 /widgets/text/e-completion-test.c
parent09e8fe231719c87f7b1b4a22cc7015773bb1be19 (diff)
downloadgsoc2013-evolution-d8e4ebebc320c72ae93c88dc43d8ae220a94331d.tar
gsoc2013-evolution-d8e4ebebc320c72ae93c88dc43d8ae220a94331d.tar.gz
gsoc2013-evolution-d8e4ebebc320c72ae93c88dc43d8ae220a94331d.tar.bz2
gsoc2013-evolution-d8e4ebebc320c72ae93c88dc43d8ae220a94331d.tar.lz
gsoc2013-evolution-d8e4ebebc320c72ae93c88dc43d8ae220a94331d.tar.xz
gsoc2013-evolution-d8e4ebebc320c72ae93c88dc43d8ae220a94331d.tar.zst
gsoc2013-evolution-d8e4ebebc320c72ae93c88dc43d8ae220a94331d.zip
Lots of GObject work.
2002-11-16 Chris Toshok <toshok@ximian.com> * gal/e-text/e-completion-test.c: Lots of GObject work. * gal/e-text/e-completion-view.[ch]: same. * gal/e-text/e-completion.[ch]: same. * gal/e-text/e-entry.[ch]: same. * gal/e-text/e-table-text-model.[ch]: same. * gal/e-text/e-text-model-uri.[ch]: same. * gal/e-text/e-text-model.[ch]: same. * gal/e-text/e-text-test.c: same. * gal/e-text/e-text.[ch]: same. svn path=/trunk/; revision=18800
Diffstat (limited to 'widgets/text/e-completion-test.c')
-rw-r--r--widgets/text/e-completion-test.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/widgets/text/e-completion-test.c b/widgets/text/e-completion-test.c
index bfa53982a3..dfefe23e1b 100644
--- a/widgets/text/e-completion-test.c
+++ b/widgets/text/e-completion-test.c
@@ -188,28 +188,28 @@ main (int argc, gchar **argv)
read_dict ();
complete = e_completion_new ();
- gtk_signal_connect (GTK_OBJECT (complete),
- "request_completion",
- GTK_SIGNAL_FUNC (request_dict_search),
- NULL);
- gtk_signal_connect (GTK_OBJECT (complete),
- "end_completion",
- GTK_SIGNAL_FUNC (end_dict_search),
- NULL);
- gtk_signal_connect (GTK_OBJECT (complete),
- "cancel_completion",
- GTK_SIGNAL_FUNC (end_dict_search),
- NULL);
+ g_signal_connect (complete,
+ "request_completion",
+ G_CALLBACK (request_dict_search),
+ NULL);
+ g_signal_connect (complete,
+ "end_completion",
+ G_CALLBACK (end_dict_search),
+ NULL);
+ g_signal_connect (complete,
+ "cancel_completion",
+ G_CALLBACK (end_dict_search),
+ NULL);
win = gtk_window_new (GTK_WINDOW_TOPLEVEL);
entry = e_entry_new ();
e_entry_enable_completion_full (E_ENTRY (entry), complete, 0, NULL);
e_entry_set_editable (E_ENTRY (entry), TRUE);
- gtk_signal_connect (GTK_OBJECT (entry),
- "popup",
- GTK_SIGNAL_FUNC (popup_cb),
- NULL);
+ g_signal_connect (entry,
+ "popup",
+ G_CALLBACK (popup_cb),
+ NULL);
gtk_container_add (GTK_CONTAINER (win), entry);
gtk_widget_show_all (win);