summaryrefslogtreecommitdiff
blob: ad6439c76d9e52c8a22ab7e2f3a2df5036335a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -NurB libgnomeuimm-2.0.0-orig/libgnomeui/libgnomeuimm/dateedit.cc libgnomeuimm-2.0.0/libgnomeui/libgnomeuimm/dateedit.cc
--- libgnomeuimm-2.0.0-orig/libgnomeui/libgnomeuimm/dateedit.cc	2003-10-02 07:52:05.000000000 -0500
+++ libgnomeuimm-2.0.0/libgnomeui/libgnomeuimm/dateedit.cc	2003-10-02 09:02:07.000000000 -0500
@@ -35,7 +35,7 @@
 : Gtk::HBox(GTK_HBOX(g_object_new(get_type(), (char*)0)))
 {
   gnome_date_edit_construct(gobj(), the_time,
-    static_cast<GnomeDateEditFlags>( 
+    GnomeDateEditFlags(
       (show_time ? DATE_EDIT_SHOW_TIME : static_cast<DateEditFlags>(0))
     | (use_24_format ? DATE_EDIT_24_HR : static_cast<DateEditFlags>(0)) ) );
 }
@@ -44,7 +44,7 @@
 DateEdit::DateEdit(time_t the_time, DateEditFlags flags)
 : Gtk::HBox(GTK_HBOX(g_object_new(get_type(), (char*)0)))
 {
-  gnome_date_edit_construct(gobj(), the_time, static_cast<GnomeDateEditFlags>(flags));
+  gnome_date_edit_construct(gobj(), the_time, GnomeDateEditFlags(flags));
 }
 
 
@@ -254,7 +254,7 @@
 
 void DateEdit::set_flags(DateEditFlags flags)
 {
-  gnome_date_edit_set_flags(gobj(), static_cast<GnomeDateEditFlags>(flags));
+  gnome_date_edit_set_flags(gobj(), GnomeDateEditFlags(flags));
 }
 
 DateEditFlags DateEdit::get_flags() const