diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-08-06 23:49:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-08-06 23:49:02 -0400 |
commit | d769808cbb48f3c154615cb64d5452f360d5f1e0 (patch) | |
tree | 786085a47a6230bdba7a83b2d8277bc24bb24d94 /docs | |
parent | 00c439dfcb3d909320499b343ea77d35409ce996 (diff) | |
download | gdk-pixbuf-d769808cbb48f3c154615cb64d5452f360d5f1e0.tar.gz |
Fix a typo
This was reported in bug 586808.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/gtk/migrating-GtkEntry-icons.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/reference/gtk/migrating-GtkEntry-icons.sgml b/docs/reference/gtk/migrating-GtkEntry-icons.sgml index ce3b44dcb..93e21b535 100644 --- a/docs/reference/gtk/migrating-GtkEntry-icons.sgml +++ b/docs/reference/gtk/migrating-GtkEntry-icons.sgml @@ -7,10 +7,10 @@ <title>Migrating from SexyIconEntry to GtkEntry</title> <para> - GTK+ 2.16 supports showing icons inside a #GtkEntry, similar to - SexyIconEntry. Porting from SexyIconEntry to GtkEntry is relatively - straightforward. The main difference between the two APIs is that - SexyIconEntry uses #GtkImage widgets in a somewhat awkward way as + GTK+ 2.16 supports showing icons inside a #GtkEntry, similar to + SexyIconEntry. Porting from SexyIconEntry to GtkEntry is relatively + straightforward. The main difference between the two APIs is that + SexyIconEntry uses #GtkImage widgets in a somewhat awkward way as storage vehicles for icons, while GtkEntry allows to specify icons via pixbufs, stock ids, icon names or #GIcons. So, if your code uses e.g.: @@ -130,7 +130,7 @@ text_changed_cb (GtkEntry *entry, gtk_entry_set_icon_from_stock (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, GTK_STOCK_CLEAR); - g_signal_connect (entry, "icon-pressed", + g_signal_connect (entry, "icon-press", G_CALLBACK (icon_pressed_cb), NULL); g_signal_connect (entry, "notify::text", G_CALLBACK (text_changed_cb), find_button); |