src/util.c

changeset 12919
519199cca273
parent 12907
5d2ed97ed7e3
child 13033
c98a5209f3b2
equal deleted inserted replaced
12918:36e9d07f56c3 12919:519199cca273
62 62
63 } GaimFetchUrlData; 63 } GaimFetchUrlData;
64 64
65 static char custom_home_dir[MAXPATHLEN]; 65 static char custom_home_dir[MAXPATHLEN];
66 static char home_dir[MAXPATHLEN]; 66 static char home_dir[MAXPATHLEN];
67
68 GaimMenuAction *
69 gaim_menu_action_new(char *label, GaimCallback callback, gpointer data,
70 GList *children)
71 {
72 GaimMenuAction *act = g_new0(GaimMenuAction, 1);
73 act->label = label;
74 act->callback = callback;
75 act->data = data;
76 act->children = children;
77 return act;
78 }
67 79
68 /************************************************************************** 80 /**************************************************************************
69 * Base16 Functions 81 * Base16 Functions
70 **************************************************************************/ 82 **************************************************************************/
71 gchar * 83 gchar *

mercurial