diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-05-16 00:47:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-05-16 00:48:36 -0400 |
commit | 924a8eb40557486bf487d2d179c2dd7e682f5d91 (patch) | |
tree | f26200acbfce0046a2d2d767acf73f14d7204336 /gtk/gtkquery.c | |
parent | 41fee7e5693ce9f53e983684383011b71146d6cf (diff) | |
download | gtk+-924a8eb40557486bf487d2d179c2dd7e682f5d91.tar.gz |
GtkQuery: Drop unused mimetype functions
These are not used, so drop them.
Diffstat (limited to 'gtk/gtkquery.c')
-rw-r--r-- | gtk/gtkquery.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/gtk/gtkquery.c b/gtk/gtkquery.c index bed173ed43..a69b278606 100644 --- a/gtk/gtkquery.c +++ b/gtk/gtkquery.c @@ -101,47 +101,6 @@ gtk_query_set_location (GtkQuery *query, query->priv->location_uri = g_strdup (uri); } -GList * -gtk_query_get_mime_types (GtkQuery *query) -{ - GList *list, *l; - gchar *mime_type; - - list = NULL; - for (l = query->priv->mime_types; l; l = l->next) - { - mime_type = (gchar*)l->data; - list = g_list_prepend (list, g_strdup (mime_type)); - } - - return list; -} - -void -gtk_query_set_mime_types (GtkQuery *query, - GList *mime_types) -{ - GList *l; - gchar *mime_type; - - g_list_free_full (query->priv->mime_types, g_free); - query->priv->mime_types = NULL; - - for (l = mime_types; l; l = l->next) - { - mime_type = (gchar*)l->data; - query->priv->mime_types = g_list_prepend (query->priv->mime_types, g_strdup (mime_type)); - } -} - -void -gtk_query_add_mime_type (GtkQuery *query, - const gchar *mime_type) -{ - query->priv->mime_types = g_list_prepend (query->priv->mime_types, - g_strdup (mime_type)); -} - static gchar * prepare_string_for_compare (const gchar *string) { |