toys: fix compiler warnings

This commit is contained in:
djcb
2017-10-24 09:17:27 +03:00
parent 77b8f034e9
commit b53366313b
4 changed files with 53 additions and 50 deletions

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2010-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2010-2017 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -110,7 +110,7 @@ tool_button (const char *name)
icon = gtk_image_new_from_icon_name
(name, GTK_ICON_SIZE_SMALL_TOOLBAR);
return gtk_menu_tool_button_new (icon, NULL);
}
@ -331,8 +331,8 @@ mug_main_area (MugData * mugdata)
return mainarea;
}
GtkWidget *
mug_shell (MugData * mugdata)
static GtkWidget*
mug_shell (MugData *mugdata)
{
GtkWidget *vbox;