Changed keyvaluepair to GmKeyValuePair

This commit is contained in:
Jesse van den Kieboom 2005-11-06 16:02:39 +00:00
parent e1bf2f2e30
commit cd49e06a1a
1 changed files with 11 additions and 3 deletions

View File

@ -2,7 +2,7 @@
#define __GM_SUPPORT_H__
#ifdef HAVE_CONFIG_H
# include <config.h>
#include "../config.h"
#endif
#include <gtk/gtk.h>
@ -76,10 +76,10 @@ struct _GmLabelInfo {
* Contains two fields. Used to create hash tables
*
*/
typedef struct _keyvaluepair {
typedef struct _GmKeyValuePair {
gchar *key; /**< the key */
gchar *value; /**< the value */
} keyvaluepair;
} GmKeyValuePair;
typedef struct _GmFetchHandle GmFetchHandle;
struct _GmFetchHandle {
@ -144,5 +144,13 @@ GtkWidget *gm_create_tab_label(const gchar *icon, const gchar *caption,
gboolean has_exit, GmLabelInfo *info);
void gm_widget_destroy_data(GtkWidget *caller, GtkWidget *destroyer);
const gchar *gm_default_charset();
void gm_notebook_focus_from_label(GtkNotebook *note, gchar *caption);
void gm_string_skip_space(gchar **ptr);
void gm_string_skip_nonspace(gchar **ptr);
void gm_string_skip_till(gchar **ptr, gchar const *find);
gchar *gm_to_utf8_with_fallback(gchar const *text, gssize len, gchar const *from,
gchar const *fallback);
#endif /* __GM_SUPPORT_H__ */