gdk/gdkcolor.c (gdk_colormap_new) Fix memory leak: colormap->colors was

1999-09-14  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkcolor.c (gdk_colormap_new)
* gdk/win32/gdkcolor.c (gdk_colormap_new): Fix memory leak:
colormap->colors was allocated twice.

* gdk/win32/gdk.c: Remove some unused stuff.

* gdk/win32/gdkcolor.c (gdk_colormap_sync): Initialize all of the
colormap.

* gtk/gtkfontsel.c (gtk_font_selection_dialog_get_type)
* gtk/gtklabel.h (gtk_label_get_type)
* gtk/gtktipsquery.c (gtk_tips_query_get_type)
* gtk/gtktypeutils.h (gtk_type_name): : Use GtkType
in a couple of places, not guint.
This commit is contained in:
Tor Lillqvist
1999-09-13 22:06:11 +00:00
committed by Tor Lillqvist
parent ad8f893e60
commit 04f5c2a1e7
17 changed files with 139 additions and 14 deletions

View File

@ -46,8 +46,6 @@ static void gdkx_XConvertCase (KeySym symbol,
static void gdk_exit_func (void);
static RETSIGTYPE gdk_signal (int signum);
/* Private variable declarations
*/
@ -112,7 +110,6 @@ gboolean
gdk_init_check (int *argc,
char ***argv)
{
HRESULT hres;
gint i, j, k;
if (gdk_initialized)