gtk: Re-indent code that was moved inside partial classes
No real code change in this commit, just whitespace changes.
This commit is contained in:
parent
a410d42975
commit
a8e1e8fd7d
29 changed files with 1460 additions and 1459 deletions
|
@ -26,8 +26,7 @@ namespace Gtk {
|
|||
public partial class Action {
|
||||
|
||||
public Action (string name, string label) : this (name, label, null, null)
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
[DllImport ("libgtk-win32-3.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
|
||||
static extern IntPtr gtk_action_get_proxies (IntPtr raw);
|
||||
|
|
|
@ -44,7 +44,6 @@ public DateTime GetDate ()
|
|||
// This defines a Date property for Calendar
|
||||
// Note that the setter causes CalendarChange events to be fired
|
||||
public DateTime Date
|
||||
|
||||
{
|
||||
get {
|
||||
return this.GetDate();
|
||||
|
|
|
@ -23,6 +23,7 @@ namespace Gtk {
|
|||
using System;
|
||||
|
||||
public partial class ColorSelectionDialog {
|
||||
|
||||
[Obsolete ("Do not use this class. It will cause your app to crash in mysterious ways.")]
|
||||
public class ColorSelectionButton : Gtk.Button {
|
||||
private ColorSelectionDialog color_sel;
|
||||
|
|
|
@ -20,6 +20,7 @@ namespace Gtk {
|
|||
using System;
|
||||
|
||||
public partial class Entry {
|
||||
|
||||
public int InsertText (string new_text)
|
||||
{
|
||||
int position = 0;
|
||||
|
|
|
@ -129,8 +129,7 @@ namespace Gtk {
|
|||
throw new Exception (String.Format ("You have two TreeNodeValueAttributes with the Column={0}", col));
|
||||
|
||||
getters [col] = mi;
|
||||
Type t = mi is PropertyInfo ? ((PropertyInfo) mi).PropertyType
|
||||
: ((FieldInfo) mi).FieldType;
|
||||
Type t = mi is PropertyInfo ? ((PropertyInfo) mi).PropertyType : ((FieldInfo) mi).FieldType;
|
||||
ctypes [col] = (GLib.GType) t;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,6 +54,7 @@ namespace Gtk {
|
|||
Widget[] result = new Widget [list.Count];
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
result [i] = list [i] as Widget;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -67,6 +68,7 @@ namespace Gtk {
|
|||
ActionGroup[] result = new ActionGroup [list.Count];
|
||||
for (int i = 0; i < list.Count; i++)
|
||||
result [i] = list [i] as ActionGroup;
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ namespace Gtk {
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
public partial class Widget {
|
||||
|
||||
[Obsolete ("Replaced by Window property.")]
|
||||
public Gdk.Window GdkWindow {
|
||||
get { return Window; }
|
||||
|
@ -37,7 +38,6 @@ public Gdk.Window GdkWindow {
|
|||
public void AddAccelerator (string accel_signal, AccelGroup accel_group, AccelKey accel_key)
|
||||
{
|
||||
this.AddAccelerator (accel_signal, accel_group, (uint) accel_key.Key, accel_key.AccelMods, accel_key.AccelFlags);
|
||||
|
||||
}
|
||||
|
||||
public int FocusLineWidth {
|
||||
|
|
Loading…
Reference in a new issue