projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdcd538
)
Got rid of some gtk+-warnings about str being NULL
author
Philip Van Hoof
<pvanhoof@mono-cvs.ximian.com>
Mon, 30 Jun 2003 23:07:00 +0000
(23:07 -0000)
committer
Philip Van Hoof
<pvanhoof@mono-cvs.ximian.com>
Mon, 30 Jun 2003 23:07:00 +0000
(23:07 -0000)
svn path=/trunk/mcs/; revision=15795
mcs/class/System.Windows.Forms/Gtk/Control.cs
patch
|
blob
|
history
mcs/class/System.Windows.Forms/Gtk/Label.cs
patch
|
blob
|
history
mcs/class/System.Windows.Forms/Gtk/MenuItem.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System.Windows.Forms/Gtk/Control.cs
b/mcs/class/System.Windows.Forms/Gtk/Control.cs
index 46a8b3a6b214957656fa08da5b17cc0540fd26e0..a89d605a3c11fed48bdb2e5696d841556a877e2b 100644
(file)
--- a/
mcs/class/System.Windows.Forms/Gtk/Control.cs
+++ b/
mcs/class/System.Windows.Forms/Gtk/Control.cs
@@
-132,6
+132,7
@@
namespace System.Windows.Forms {
public Control () : this ("")
{
+ this.text = "";
}
public Control (string text) : this (null, text)
diff --git
a/mcs/class/System.Windows.Forms/Gtk/Label.cs
b/mcs/class/System.Windows.Forms/Gtk/Label.cs
index 982c0a68f8af65d18d4f771deec0a0a001d21af5..15047707464f3c391b9d429f347c1fe70059a553 100644
(file)
--- a/
mcs/class/System.Windows.Forms/Gtk/Label.cs
+++ b/
mcs/class/System.Windows.Forms/Gtk/Label.cs
@@
-19,6
+19,7
@@
namespace System.Windows.Forms {
public Label () : base ()
{
+ this.Text = " ";
}
//public virtual bool AutoSize {
diff --git
a/mcs/class/System.Windows.Forms/Gtk/MenuItem.cs
b/mcs/class/System.Windows.Forms/Gtk/MenuItem.cs
index 8ddb9e02f4c98bc6fda927316c4928dceb7e475b..30e0d5ac75605308a87a1d4862b43c89bbf3486c 100644
(file)
--- a/
mcs/class/System.Windows.Forms/Gtk/MenuItem.cs
+++ b/
mcs/class/System.Windows.Forms/Gtk/MenuItem.cs
@@
-14,7
+14,7
@@
namespace System.Windows.Forms{
public MenuItemCollection MenuItems;
internal Gtk.MenuItem file_item;
- String text
, text2
;
+ String text
="", text2=""
;
bool check1, blChecked;
private Shortcut shortcut;