diff options
Diffstat (limited to 'libmdock')
-rw-r--r-- | libmdock/mdock-widget.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libmdock/mdock-widget.c b/libmdock/mdock-widget.c index 74467a3..f336a62 100644 --- a/libmdock/mdock-widget.c +++ b/libmdock/mdock-widget.c @@ -49,8 +49,8 @@ struct _MDockWidgetPrivate MDockItem *current_pointed_item; MDockItem *current_popup_item; guint popup_timer; - gboolean loading_settings : 1; - gboolean primary_button_down : 1; + gboolean loading_settings; + gboolean primary_button_down; }; G_DEFINE_TYPE(MDockWidget, mdock_widget, GTK_TYPE_BOX) @@ -75,8 +75,8 @@ enum { }; static const GtkTargetEntry drag_types[] = { - "application/x-mdock-item", 0, DRAG_TYPE_ITEM, - "text/uri-list", 0, DRAG_TYPE_URILIST + {"application/x-mdock-item", 0, DRAG_TYPE_ITEM}, + {"text/uri-list", 0, DRAG_TYPE_URILIST} }; static void connect_item(MDockWidget *self, MDockItem *item, GSequenceIter *position); @@ -404,7 +404,6 @@ static void mdock_widget_drag_data_received(GtkWidget *widget, GdkDragContext *c static gboolean mdock_widget_drag_drop(GtkWidget *widget, GdkDragContext *context, gint x, gint y, guint timestamp) { - MDockWidget *self = MDOCK_WIDGET(widget); GtkTargetList *target_list = gtk_drag_dest_get_target_list(widget); GdkAtom target = gtk_drag_dest_find_target(widget, context, target_list); guint info; |