[virt-tools-list] [PATCH 2/2] Fix gcc warning (unused-parameter)

Fabiano Fidêncio fidencio at redhat.com
Fri Aug 8 14:28:30 UTC 2014


---
 src/virt-viewer-window.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
index 9d86e38..82c4fa6 100644
--- a/src/virt-viewer-window.c
+++ b/src/virt-viewer-window.c
@@ -1055,7 +1055,9 @@ virt_viewer_window_menu_help_guest_details(GtkWidget *menu G_GNUC_UNUSED,
 }
 
 G_MODULE_EXPORT void
-virt_viewer_window_guest_details_response(GtkDialog *dialog, gint response_id, gpointer user_data)
+virt_viewer_window_guest_details_response(GtkDialog *dialog,
+                                          gint response_id,
+                                          gpointer user_data G_GNUC_UNUSED)
 {
     if (response_id == GTK_RESPONSE_CLOSE)
         gtk_widget_hide(GTK_WIDGET(dialog));
-- 
1.9.3




More information about the virt-tools-list mailing list