changeset 35638:78d9cfd68b34

Cosmetic: Use parameter name 'window' for a GtkWindow.
author ib
date Thu, 10 Jan 2013 19:23:37 +0000
parents 58d55c933757
children 2e7f2ecaaf0b
files gui/dialog/dialog.c gui/dialog/dialog.h
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/dialog.c	Thu Jan 10 19:14:20 2013 +0000
+++ b/gui/dialog/dialog.c	Thu Jan 10 19:23:37 2013 +0000
@@ -242,15 +242,15 @@
             gtk_main_iteration_do(0);
 }
 
-void gtkSetLayer(GtkWidget *wdg)
+void gtkSetLayer(GtkWidget *window)
 {
-    wsSetLayer(gdk_display, GDK_WINDOW_XWINDOW(wdg->window), guiApp.videoWindow.isFullScreen);
-    gtkActive(wdg);
+    wsSetLayer(gdk_display, GDK_WINDOW_XWINDOW(window->window), guiApp.videoWindow.isFullScreen);
+    gtkActive(window);
 }
 
-void gtkActive(GtkWidget *wdg)
+void gtkActive(GtkWidget *window)
 {
-    wsRaiseWindowTop(gdk_display, GDK_WINDOW_XWINDOW(wdg->window));
+    wsRaiseWindowTop(gdk_display, GDK_WINDOW_XWINDOW(window->window));
 }
 
 void gtkShow(int type, char *param)
--- a/gui/dialog/dialog.h	Thu Jan 10 19:14:20 2013 +0000
+++ b/gui/dialog/dialog.h	Thu Jan 10 19:23:37 2013 +0000
@@ -76,7 +76,7 @@
 
 void gtkShow(int type, char *param);
 void gtkMessageBox(int type, const gchar *str);
-void gtkSetLayer(GtkWidget *wdg);
-void gtkActive(GtkWidget *wdg);
+void gtkSetLayer(GtkWidget *window);
+void gtkActive(GtkWidget *window);
 
 #endif /* MPLAYER_GUI_DIALOG_H */