Commit 538f5258 authored by Mark McLoughlin's avatar Mark McLoughlin Committed by Mark McLoughlin

audit use of gconf_enum_to_string to make sure all (gint *) casts are

2002-02-05  Mark McLoughlin  <mark@skynet.ie>

        * panel.c: (panel_session_init_panels): audit use of
        gconf_enum_to_string to make sure all (gint *) casts
        are correct. Solaris refuses to entertain mis-aligned
        pointers.
parent 3cc4bf92
2002-02-05 Mark McLoughlin <mark@skynet.ie>
* panel.c: (panel_session_init_panels): audit use of
gconf_enum_to_string to make sure all (gint *) casts
are correct. Solaris refuses to entertain mis-aligned
pointers.
2002-02-04 jacob berkman <jacob@ximian.com>
* Makefile.am: our object files require the built sources
......
......@@ -2300,7 +2300,7 @@ panel_session_init_panels(void)
panel_id,
"panel-size",
use_default, "panel-size-small"),
(gint *) &sz);
&sz);
/* Now for type specific config */
......@@ -2436,7 +2436,7 @@ panel_session_init_panels(void)
break;
}
case DRAWER_PANEL: {
PanelOrient orient;
int orient;
gconf_string_to_enum (panel_orient_type_enum_map,
panel_gconf_panel_profile_get_conditional_string (session_get_current_profile (),
......@@ -2447,7 +2447,7 @@ panel_session_init_panels(void)
panel = drawer_widget_new (panel_id,
orient,
(PanelOrient) orient,
BASEP_EXPLICIT_HIDE,
state,
sz,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment