fix bug #4023, 'Fix some small issues'
[claws.git] / src / textview.c
index e033347d49973dc0eeddfc1f451049bd107bd7f1..e54b2e8582f70d0e75db8cf6c2b54c315763b7eb 100644 (file)
@@ -948,8 +948,11 @@ void textview_show_mime_part(TextView *textview, MimeInfo *partinfo)
        GtkTextBuffer *buffer;
        GtkTextIter iter;
        const gchar *name;
-       gchar *content_type, *shortcut;
+       gchar *content_type;
        GtkUIManager *ui_manager;
+#ifndef GENERIC_UMPC
+       gchar *shortcut;
+#endif
 
        if (!partinfo) return;