mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Remove unused function.
This commit is contained in:
15
gtk/util.c
15
gtk/util.c
@@ -293,21 +293,6 @@ addactionname( guint flag )
|
||||
return name;
|
||||
}
|
||||
|
||||
GList *
|
||||
makeglist(void *ptr, ...) {
|
||||
va_list ap;
|
||||
GList *ret;
|
||||
|
||||
ret = g_list_append(NULL, ptr);
|
||||
|
||||
va_start(ap, ptr);
|
||||
while(NULL != (ptr = va_arg(ap, void*)))
|
||||
ret = g_list_append(ret, ptr);
|
||||
va_end(ap);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
const char *
|
||||
getdownloaddir( void )
|
||||
{
|
||||
|
||||
@@ -121,10 +121,6 @@ addactionflag(const char *action);
|
||||
const char *
|
||||
addactionname(guint flag);
|
||||
|
||||
/* turn a NULL-terminated list of void* arguments into a glist */
|
||||
GList *
|
||||
makeglist(void *ptr, ...);
|
||||
|
||||
/* retrieve the global download directory */
|
||||
const char *
|
||||
getdownloaddir( void );
|
||||
|
||||
Reference in New Issue
Block a user