Intialise *style to NULL.
*style being unitialised raises a warning which causes problems on systems which enable warnings as errors (-Werror).
This commit is contained in:
parent
9b5d91e33b
commit
6893ef034b
@ -2482,7 +2482,7 @@ meta_frames_set_window_background (MetaFrames *frames,
|
||||
{
|
||||
MetaFrameFlags flags;
|
||||
MetaFrameType type;
|
||||
MetaFrameStyle *style;
|
||||
MetaFrameStyle *style = NULL;
|
||||
gboolean frame_exists;
|
||||
|
||||
meta_core_get (gdk_display, frame->xwindow,
|
||||
|
Loading…
Reference in New Issue
Block a user