mirror of https://github.com/djcb/mu.git
* mu-msg-attach-view.c: don't use gtk_icon_view_set_item_orientation, it
requires gtk 2.22 which is too new
This commit is contained in:
parent
4f47bd0dd9
commit
c10ef1f384
|
@ -189,8 +189,11 @@ mu_msg_attach_view_init (MuMsgAttachView *obj)
|
|||
gtk_icon_view_set_margin (GTK_ICON_VIEW(obj), 0);
|
||||
gtk_icon_view_set_spacing (GTK_ICON_VIEW(obj), 0);
|
||||
gtk_icon_view_set_item_padding (GTK_ICON_VIEW(obj), 0);
|
||||
gtk_icon_view_set_item_orientation (GTK_ICON_VIEW(obj),
|
||||
GTK_ORIENTATION_HORIZONTAL);
|
||||
|
||||
/* note: only since GTK+ 2.22 */
|
||||
/* gtk_icon_view_set_item_orientation (GTK_ICON_VIEW(obj), */
|
||||
/* GTK_ORIENTATION_HORIZONTAL); */
|
||||
|
||||
gtk_icon_view_set_selection_mode (GTK_ICON_VIEW(obj),
|
||||
GTK_SELECTION_MULTIPLE);
|
||||
init_drag_and_drop (obj);
|
||||
|
|
|
@ -59,7 +59,7 @@ GType mu_msg_attach_view_get_type (void) G_GNUC_CONST;
|
|||
/* if this is a kind of GtkWidget, it should probably return at GtkWidget* */
|
||||
GtkWidget* mu_msg_attach_view_new (void);
|
||||
|
||||
|
||||
/* returns # of attachments */
|
||||
int mu_msg_attach_view_set_message (MuMsgAttachView *self, MuMsg *msg);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
Loading…
Reference in New Issue