Author: mkestner
Date: 2006-09-19 09:26:36 -0400 (Tue, 19 Sep 2006)
New Revision: 65637

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
Log:
warnings cleanups

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs    
2006-09-19 13:23:01 UTC (rev 65636)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs    
2006-09-19 13:26:36 UTC (rev 65637)
@@ -4241,7 +4241,7 @@
 
                                        if (!IsUnix ())
                                                File.SetAttributes 
(full_file_name, FileAttributes.Hidden);
-                               } catch (Exception e){
+                               } catch (Exception){
                                }
                        }
                        

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs    
2006-09-19 13:23:01 UTC (rev 65636)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs    
2006-09-19 13:26:36 UTC (rev 65637)
@@ -228,7 +228,6 @@
                                        int le = TabPages 
[value].TabBounds.Right;
                                        int re = 
ThemeEngine.Current.GetTabControlLeftScrollRect (this).Left;
                                        if (show_slider && le > re) {
-                                               int diff = le - re;
                                                int i = 0;
 
                                                for (i = value; i < 
TabPages.Count; i++) {

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2006-09-19 13:23:01 UTC (rev 65636)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs    
2006-09-19 13:26:36 UTC (rev 65637)
@@ -695,14 +695,12 @@
                        int[]                   atoms;
                        int                     atom_count;
                        Rectangle               client_rect;
-                       bool                    transient;
 
                        // Child windows don't need WM window styles
                        if ((cp.Style & (int)WindowStyles.WS_CHILDWINDOW) != 0) 
{
                                return;
                        }
 
-                       transient = false;
                        atoms = new int[8];
                        mwmHints = new MotifWmHints();
                        functions = 0;
@@ -787,10 +785,8 @@
                                        atoms[0] = 
NetAtoms[(int)NA._NET_WM_WINDOW_TYPE_NORMAL].ToInt32();
                                        XChangeProperty(DisplayHandle, 
hwnd.whole_window, NetAtoms[(int)NA._NET_WM_WINDOW_TYPE], (IntPtr)Atom.XA_ATOM, 
32, PropertyMode.Replace, atoms, 1);
 
-                                       transient = true;
                                        XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, hwnd.parent.whole_window);
                                } else if ((cp.ExStyle & 
(int)WindowExStyles.WS_EX_APPWINDOW) == 0) {
-//                                     transient = true;
 //                                     XSetTransientForHint(DisplayHandle, 
hwnd.whole_window, FosterParent);
                                }
                                if ((client_rect.Width < 1) || 
(client_rect.Height < 1)) {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to