session-bin: remove unused wp_session_bin_new API

This commit is contained in:
Julian Bouzas 2021-03-17 14:52:03 -04:00
parent 5a1dfc02d2
commit 5a11510e21
2 changed files with 0 additions and 15 deletions

View file

@ -66,18 +66,6 @@ wp_session_bin_class_init (WpSessionBinClass * klass)
si_class->reset = si_session_bin_reset;
}
/**
* wp_session_bin_new:
* Creates a new session bin.
*
* Returns: TRUE if the item was added into the session bin, FALSE otherwise
*/
WpSessionBin *
wp_session_bin_new (void)
{
return g_object_new (WP_TYPE_SESSION_BIN, NULL);
}
/**
* wp_session_bin_add:
* @self: the session bin

View file

@ -32,9 +32,6 @@ struct _WpSessionBinClass
WpSessionItemClass parent_class;
};
WP_API
WpSessionBin *wp_session_bin_new (void);
WP_API
gboolean wp_session_bin_add (WpSessionBin *self, WpSessionItem *item);