Commit f2aaa523 authored by Emmanuel Puig's avatar Emmanuel Puig

* gtk2_theme.cpp: window are not automatically visibled

* gtk2_window.cpp: removed fading transition delay
* vlcproc.cpp: removed warning
parent acc28ba5
......@@ -2,7 +2,7 @@
* gtk2_theme.cpp: GTK2 implementation of the Theme class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_theme.cpp,v 1.14 2003/04/16 21:40:07 ipkiss Exp $
* $Id: gtk2_theme.cpp,v 1.15 2003/04/16 21:50:19 karibu Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
......@@ -262,7 +262,7 @@ void GTK2Theme::AddWindow( string name, int x, int y, bool visible,
GdkColor black = {0, 0, 0, 0};
gdk_window_show( gwnd );
//gdk_window_show( gwnd );
WindowList.push_back( (Window *)new OSWindow( p_intf, gwnd, x, y, visible,
fadetime, alpha, movealpha, dragdrop, name ) ) ;
......
......@@ -2,7 +2,7 @@
* gtk2_window.cpp: GTK2 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_window.cpp,v 1.18 2003/04/16 21:40:07 ipkiss Exp $
* $Id: gtk2_window.cpp,v 1.19 2003/04/16 21:50:19 karibu Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
......@@ -76,6 +76,9 @@ GTK2Window::GTK2Window( intf_thread_t *p_intf, GdkWindow *gwnd, int x, int y,
LButtonDown = false;
RButtonDown = false;
// Removing fading effect
Transition = 0;
/*
// Set position parameters
CursorPos = new POINT;
......
......@@ -2,7 +2,7 @@
* vlcproc.cpp: VlcProc class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: vlcproc.cpp,v 1.7 2003/04/16 21:40:07 ipkiss Exp $
* $Id: vlcproc.cpp,v 1.8 2003/04/16 21:50:19 karibu Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
......@@ -626,7 +626,7 @@ void VlcProc::AddNetworkChannelServer( char *server )
int port = 0;
// Scan the server address
int scan = sscanf( server, "%[^:]:%i", name, port );
int scan = sscanf( server, "%[^:]:%i", name, &port );
if( scan != 2)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment