mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-23 18:25:28 +00:00
2005-01-31 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : null check a parent arg. [Fixes #77400] svn path=/trunk/gtk-sharp/; revision=56339
This commit is contained in:
parent
5f1c7a56dd
commit
f47b4880f1
|
@ -1,3 +1,7 @@
|
|||
2005-01-31 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* gtk/Dialog.custom : null check a parent arg. [Fixes #77400]
|
||||
|
||||
2005-01-22 Mike Kestner <mkestner@novell.com>
|
||||
|
||||
* configure.in.in : work around broken vte that doesn't
|
||||
|
|
|
@ -43,7 +43,7 @@ public Dialog (string title, Gtk.Window parent, Gtk.DialogFlags flags, params ob
|
|||
HasSeparator = false;
|
||||
} else {
|
||||
IntPtr native = GLib.Marshaller.StringToPtrGStrdup (title);
|
||||
Raw = gtk_dialog_new_with_buttons (native, parent.Handle, (int) flags, IntPtr.Zero);
|
||||
Raw = gtk_dialog_new_with_buttons (native, parent == null ? IntPtr.Zero : parent.Handle, (int) flags, IntPtr.Zero);
|
||||
GLib.Marshaller.Free (native);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue