X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Finstance.c;h=91f9db77934ff309d8f8ef05ea67041b21b68d21;hb=0116d82463197bea2890230d71a69e4b92489166;hp=02e680404b7ca7b425f43e915cf082d3fbb77298;hpb=037fc862b0dd4535accf7b69a8c0112355bd04b1;p=chaz%2Fopenbox diff --git a/render/instance.c b/render/instance.c index 02e68040..91f9db77 100644 --- a/render/instance.c +++ b/render/instance.c @@ -2,7 +2,7 @@ instance.c for the Openbox window manager Copyright (c) 2006 Mikael Magnusson - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -134,7 +134,7 @@ void RrPseudoColorSetup (RrInstance *inst) _ncolors = RrPseudoNcolors(inst); if (_ncolors > 1 << inst->depth) { - g_warning("PseudoRenderControl: Invalid colormap size. Resizing.\n"); + g_message("Invalid colormap size. Resizing."); inst->pseudo_bpc = 1 << (inst->depth/3) >> 3; _ncolors = 1 << (inst->pseudo_bpc * 3); } @@ -214,6 +214,7 @@ void RrInstanceFree (RrInstance *inst) g_free(inst->pseudo_colors); g_hash_table_destroy(inst->color_hash); g_object_unref(inst->pango); + g_free(inst); } }