aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gui_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gui_utils.h')
-rw-r--r--gtk/gui_utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gui_utils.h b/gtk/gui_utils.h
index cc288ccb0f..46e19aecb3 100644
--- a/gtk/gui_utils.h
+++ b/gtk/gui_utils.h
@@ -282,6 +282,12 @@ extern GtkWidget *xpm_to_widget(const char ** xpm);
*/
extern GtkWidget *xpm_to_widget_from_parent(GtkWidget *parent, const char ** xpm);
+/** Convert an pixbuf data to a GtkWidget
+ *
+ * @param pb_data Inline pixbuf data. This should be created with "gdk-pixbuf-csource --raw"
+ */
+extern GtkWidget *pixbuf_to_widget(const char * pb_data);
+
/** Copy a GString to the clipboard.
*
* @param str GString that is to be copied to the clipboard.