diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-12-26 21:59:27 +0000 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-12-26 21:59:27 +0000 |
commit | b6963faaa75b3fa6ff22ec0bf43670ac9b34279f (patch) | |
tree | fcef065083ebf60eb0a38097a643b6b023dcdc18 | |
parent | 0857332781ab119e075c6e5bf1feb25bd5d032fa (diff) |
"Fix" some more warnings
-rw-r--r-- | src/slide_sorter.c | 6 | ||||
-rw-r--r-- | src/slide_window.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/slide_sorter.c b/src/slide_sorter.c index 53bee9d..50cea68 100644 --- a/src/slide_sorter.c +++ b/src/slide_sorter.c @@ -429,13 +429,13 @@ static void dnd_end(GtkWidget *widget, GdkDragContext *drag_context, static void dnd_delete(GtkWidget *widget, GdkDragContext *drag_context, struct slide_sorter *n) { - int same; + //int same; int sn; sn = slide_number(n->p, n->selected_slide); - same = (gdk_drag_context_get_source_window(drag_context) - == gdk_drag_context_get_dest_window(drag_context)); + //same = (gdk_drag_context_get_source_window(drag_context) + // == gdk_drag_context_get_dest_window(drag_context)); if ( sn < n->drop_here ) n->drop_here--; diff --git a/src/slide_window.c b/src/slide_window.c index 27a8975..2f5ee98 100644 --- a/src/slide_window.c +++ b/src/slide_window.c @@ -102,7 +102,7 @@ struct menu_pl }; -static gint add_furniture(GtkWidget *widget, struct menu_pl *pl) +static gint UNUSED add_furniture(GtkWidget *widget, struct menu_pl *pl) { sc_block_append_end(pl->sw->cur_slide->scblocks, strdup(pl->style_name), NULL, NULL); @@ -113,9 +113,9 @@ static gint add_furniture(GtkWidget *widget, struct menu_pl *pl) } -static void update_style_menus(SlideWindow *sw) +static void UNUSED update_style_menus(SlideWindow *sw) { - GtkWidget *menu; + //GtkWidget *menu; SCInterpreter *scin; struct style_id *styles; int i, n_sty; @@ -238,8 +238,8 @@ static void open_slidesorter_sig(GSimpleAction *action, GVariant *parameter, gpo static void delete_frame_sig(GSimpleAction *action, GVariant *parameter, gpointer vp) { - SlideWindow *sw = vp; #if 0 + SlideWindow *sw = vp; int i; delete_subframe(sw->cur_slide, sw->p->selection); |