toys/mug: upgrade for query changes

Mostly, port to c++.
This commit is contained in:
Dirk-Jan C. Binnema
2020-11-28 10:07:13 +02:00
parent 4daa7105d2
commit 90e35a9732
12 changed files with 320 additions and 316 deletions

View File

@ -22,12 +22,13 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
/**
G_BEGIN_DECLS
/**
* get a pixbuf (icon) for a certain content-type (ie., 'image/jpeg')
*
*
* @param ctype the content-type (MIME-type)
* @param size the size of the icon
*
*
* @return a new GdkPixbuf, or NULL in case of error. Use
* g_object_unref when the pixbuf is no longer needed.
*/
@ -36,4 +37,6 @@ GdkPixbuf* mu_widget_util_get_icon_pixbuf_for_content_type (const char *ctype,
G_GNUC_WARN_UNUSED_RESULT;
G_END_DECLS
#endif /*__MU_WIDGET_UTIL_H__*/