Changed keyvaluepair to GmKeyValuePair
This commit is contained in:
parent
e1bf2f2e30
commit
cd49e06a1a
1 changed files with 11 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
#define __GM_SUPPORT_H__
|
#define __GM_SUPPORT_H__
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
#include "../config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
@ -76,10 +76,10 @@ struct _GmLabelInfo {
|
||||||
* Contains two fields. Used to create hash tables
|
* Contains two fields. Used to create hash tables
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
typedef struct _keyvaluepair {
|
typedef struct _GmKeyValuePair {
|
||||||
gchar *key; /**< the key */
|
gchar *key; /**< the key */
|
||||||
gchar *value; /**< the value */
|
gchar *value; /**< the value */
|
||||||
} keyvaluepair;
|
} GmKeyValuePair;
|
||||||
|
|
||||||
typedef struct _GmFetchHandle GmFetchHandle;
|
typedef struct _GmFetchHandle GmFetchHandle;
|
||||||
struct _GmFetchHandle {
|
struct _GmFetchHandle {
|
||||||
|
@ -144,5 +144,13 @@ GtkWidget *gm_create_tab_label(const gchar *icon, const gchar *caption,
|
||||||
gboolean has_exit, GmLabelInfo *info);
|
gboolean has_exit, GmLabelInfo *info);
|
||||||
void gm_widget_destroy_data(GtkWidget *caller, GtkWidget *destroyer);
|
void gm_widget_destroy_data(GtkWidget *caller, GtkWidget *destroyer);
|
||||||
const gchar *gm_default_charset();
|
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__ */
|
#endif /* __GM_SUPPORT_H__ */
|
||||||
|
|
Reference in a new issue