summaryrefslogtreecommitdiff
path: root/gtk/gtksearchentry.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-28 21:49:37 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-28 21:49:37 -0400
commit398f9e8b5b39217b757b0ba42be0b19f59606bec (patch)
treeda78cbf72e80399f2e958e9ed1827cac092265c5 /gtk/gtksearchentry.h
parent1b135b28c0d8202b3fcc46682e3334af85e51b3b (diff)
downloadgtk+-398f9e8b5b39217b757b0ba42be0b19f59606bec.tar.gz
Change the way GtkSearchEntry does delayed change notification
We add a GtkSearchEntry::search-changed signal which gets emitted with a 150 millisecond delay. The ::change signal goes back to its expected semantics. https://bugzilla.gnome.org/show_bug.cgi?id=700229
Diffstat (limited to 'gtk/gtksearchentry.h')
-rw-r--r--gtk/gtksearchentry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtksearchentry.h b/gtk/gtksearchentry.h
index 7f274ba014..426bd2d3d0 100644
--- a/gtk/gtksearchentry.h
+++ b/gtk/gtksearchentry.h
@@ -55,11 +55,12 @@ struct _GtkSearchEntryClass
{
GtkEntryClass parent_class;
+ void (*search_changed) (GtkSearchEntry *entry);
+
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
- void (*_gtk_reserved4) (void);
};
GDK_AVAILABLE_IN_3_6