[gtk+] Fix a typo
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a typo
- Date: Fri, 7 Aug 2009 03:50:29 +0000 (UTC)
commit d769808cbb48f3c154615cb64d5452f360d5f1e0
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 6 23:49:02 2009 -0400
Fix a typo
This was reported in bug 586808.
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 ce3b44d..93e21b5 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]