[MPlayer-cvslog] r35732 - in trunk/gui/dialog: dialog.c dialog.h

ib subversion at mplayerhq.hu
Thu Jan 10 20:23:37 CET 2013


Author: ib
Date: Thu Jan 10 20:23:37 2013
New Revision: 35732

Log:
Cosmetic: Use parameter name 'window' for a GtkWindow.

Modified:
   trunk/gui/dialog/dialog.c
   trunk/gui/dialog/dialog.h

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Thu Jan 10 20:14:20 2013	(r35731)
+++ trunk/gui/dialog/dialog.c	Thu Jan 10 20:23:37 2013	(r35732)
@@ -242,15 +242,15 @@ void gtkMessageBox(int type, const gchar
             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)

Modified: trunk/gui/dialog/dialog.h
==============================================================================
--- trunk/gui/dialog/dialog.h	Thu Jan 10 20:14:20 2013	(r35731)
+++ trunk/gui/dialog/dialog.h	Thu Jan 10 20:23:37 2013	(r35732)
@@ -76,7 +76,7 @@ void gtkEventHandling(void);
 
 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 */


More information about the MPlayer-cvslog mailing list