Squashed 'libs/EXTERNAL/libezgl/' changes from 04b4dfb..fdc2113
fdc2113 Merge pull request #5 from mariobadr/fix_warning_message
91f2d15 fix warning messages in basic_application.cpp
git-subtree-dir: libs/EXTERNAL/libezgl
git-subtree-split: fdc2113c2b7db377703f2ec22d1b8d65463ec46b
diff --git a/examples/basic-application/basic_application.cpp b/examples/basic-application/basic_application.cpp
index 233974b..7299e0d 100644
--- a/examples/basic-application/basic_application.cpp
+++ b/examples/basic-application/basic_application.cpp
@@ -65,7 +65,7 @@
*
* @return the exit status of the application run.
*/
-int main(int argc, char **argv)
+int main(int /*argc*/, char **/*argv*/)
{
ezgl::application::settings settings;
@@ -513,7 +513,7 @@
* The current mouse position in the main canvas' world coordinate system is returned
* A pointer to the application and the entire GDK event are also returned
*/
-void act_on_mouse_move(ezgl::application *application, GdkEventButton *event, double x, double y)
+void act_on_mouse_move(ezgl::application */*application*/, GdkEventButton */*event*/, double x, double y)
{
std::cout << "Mouse move at coordinates (" << x << "," << y << ") "<< std::endl;
}
@@ -523,7 +523,7 @@
* The name of the key pressed is returned (0-9, a-z, A-Z, Up, Down, Left, Right, Shift_R, Control_L, space, Tab, ...)
* A pointer to the application and the entire GDK event are also returned
*/
-void act_on_key_press(ezgl::application *application, GdkEventKey *event, char *key_name)
+void act_on_key_press(ezgl::application *application, GdkEventKey */*event*/, char *key_name)
{
application->update_message("Key Pressed");
@@ -533,7 +533,7 @@
/**
* A callback function to test the Test button
*/
-void test_button(GtkWidget *widget, ezgl::application *application)
+void test_button(GtkWidget */*widget*/, ezgl::application *application)
{
// Update the status bar message
application->update_message("Test Button Pressed");