2011-06-18 17:34:08 +02:00
|
|
|
$NetBSD: patch-widget-utils.c,v 1.2 2011/06/18 15:34:08 wiz Exp $
|
Initial import of bmpanel2-2.1pre1:
Nice NETWM-compatible panel for X11. Features:
* Look'n'feel customization via themes.
* A bunch of widgets: desktop switcher, taskbar, launchbar, systray,
clock, decor, empty.
* Pseudo-transparency support.
* Written in C with speed and clarity in mind.
* Small number of dependencies, briefly: glib2, cairo, pango,
libX11.
* Small memory footprint (about 2-4 megabytes).
* Small executable (80 kilobytes at the moment).
2011-06-18 17:30:59 +02:00
|
|
|
|
|
|
|
alloca.h is deprecated and doesn't exist on many systems.
|
2011-06-18 17:34:08 +02:00
|
|
|
http://code.google.com/p/bmpanel2/issues/detail?id=28
|
Initial import of bmpanel2-2.1pre1:
Nice NETWM-compatible panel for X11. Features:
* Look'n'feel customization via themes.
* A bunch of widgets: desktop switcher, taskbar, launchbar, systray,
clock, decor, empty.
* Pseudo-transparency support.
* Written in C with speed and clarity in mind.
* Small number of dependencies, briefly: glib2, cairo, pango,
libX11.
* Small memory footprint (about 2-4 megabytes).
* Small executable (80 kilobytes at the moment).
2011-06-18 17:30:59 +02:00
|
|
|
|
|
|
|
--- widget-utils.c.orig 2009-11-01 05:50:26.000000000 +0000
|
|
|
|
+++ widget-utils.c
|
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
#include <stdio.h>
|
|
|
|
-#include <alloca.h>
|
|
|
|
+#include <malloc.h>
|
|
|
|
#include "widget-utils.h"
|
|
|
|
|
|
|
|
/**************************************************************************
|