summaryrefslogtreecommitdiff
path: root/gtk/gtksearchengine.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-24 00:40:59 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-27 08:07:39 -0400
commiteee85d39e56205976ab8b215e1e3e92e9d8c4913 (patch)
tree5c831fe370048ebbf0cc53be5af0db522923c150 /gtk/gtksearchengine.h
parentf7bba525fc7a02443907b5baf365ac09c2009775 (diff)
downloadgtk+-eee85d39e56205976ab8b215e1e3e92e9d8c4913.tar.gz
Avoid more GFile<>uri roundtrips
Make GtkSearchHit carry a GFile instead of an uri. Most of the search engines already have the object around, and converting to an uri and back is unnecessary extra work.
Diffstat (limited to 'gtk/gtksearchengine.h')
-rw-r--r--gtk/gtksearchengine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksearchengine.h b/gtk/gtksearchengine.h
index e49eeb8c79..c3d181274d 100644
--- a/gtk/gtksearchengine.h
+++ b/gtk/gtksearchengine.h
@@ -42,7 +42,7 @@ typedef struct _GtkSearchHit GtkSearchHit;
struct _GtkSearchHit
{
- gchar *uri;
+ GFile *file;
GFileInfo *info; /* may be NULL */
};