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> 2002-02-04 jacob berkman <jacob@ximian.com>
* Makefile.am: our object files require the built sources * Makefile.am: our object files require the built sources
......
...@@ -2300,7 +2300,7 @@ panel_session_init_panels(void) ...@@ -2300,7 +2300,7 @@ panel_session_init_panels(void)
panel_id, panel_id,
"panel-size", "panel-size",
use_default, "panel-size-small"), use_default, "panel-size-small"),
(gint *) &sz); &sz);
/* Now for type specific config */ /* Now for type specific config */
...@@ -2436,7 +2436,7 @@ panel_session_init_panels(void) ...@@ -2436,7 +2436,7 @@ panel_session_init_panels(void)
break; break;
} }
case DRAWER_PANEL: { case DRAWER_PANEL: {
PanelOrient orient; int orient;
gconf_string_to_enum (panel_orient_type_enum_map, gconf_string_to_enum (panel_orient_type_enum_map,
panel_gconf_panel_profile_get_conditional_string (session_get_current_profile (), panel_gconf_panel_profile_get_conditional_string (session_get_current_profile (),
...@@ -2447,7 +2447,7 @@ panel_session_init_panels(void) ...@@ -2447,7 +2447,7 @@ panel_session_init_panels(void)
panel = drawer_widget_new (panel_id, panel = drawer_widget_new (panel_id,
orient, (PanelOrient) orient,
BASEP_EXPLICIT_HIDE, BASEP_EXPLICIT_HIDE,
state, state,
sz, 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