grim/guifications1

This should fix the Mdk 9.1 RPM building bug reported on the forums a while ago
/*
Guifications - The notification plugin to end all notification plugins!
Copyright (C) 2003-2004 Gary Kramlich
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 the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef GF_UTILS_H
#define GF_UTILS_H
#include <glib.h>
#include <pango/pango.h>
#include <gtk/gtk.h>
#include "guifications.h"
/***********************************************************************
structs
***********************************************************************/
typedef struct _dimensions {
guint height;
guint width;
} dimensions;
/***********************************************************************
Prototypes
***********************************************************************/
void gf_resize(GtkWidget *window, GtkWidget *box);
gint get_window_x(GtkWidget *window);
gint get_window_y(GtkWidget *window);
gint get_window_width(GtkWidget *box);
gint get_window_height(GtkWidget *box);
void get_image_size(dimensions *image_size);
void get_zoom_size(dimensions image_size, dimensions *zoom_size);
void clip_layout(PangoLayout **layout, gboolean use_color, const gchar *text_x, const gchar *text_color);
void set_color(PangoLayout **layout, gboolean custom_color, const gchar *pref);
gchar *set_text_color(const gchar *text, const gchar *pref);
gchar *g_strrndup(const gchar *src, gint n);
gint get_icon_size();
gboolean is_even(gint number);
void get_text_pos(gint *x, gint *y, gboolean line, PangoLayout *layout);
void get_icon_pos(gint *x, gint *y);
/**********************************************************************/
#endif