mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Move deprecated GCompletion to deprecated/
Keep the docs for now, though. We'll remove them after a few more cycles. https://bugzilla.gnome.org/show_bug.cgi?id=659427
This commit is contained in:
parent
c3fc0c285f
commit
e88a12caa0
@ -113,6 +113,7 @@ uninstall-ms-lib:
|
||||
|
||||
deprecated_sources = \
|
||||
deprecated/gallocator.c \
|
||||
deprecated/gcompletion.c \
|
||||
deprecated/grel.c
|
||||
|
||||
libglib_2_0_la_SOURCES = \
|
||||
@ -130,7 +131,6 @@ libglib_2_0_la_SOURCES = \
|
||||
gbufferprivate.h \
|
||||
gcache.c \
|
||||
gchecksum.c \
|
||||
gcompletion.c \
|
||||
gconvert.c \
|
||||
gdataset.c \
|
||||
gdatasetprivate.h \
|
||||
@ -237,6 +237,7 @@ glibinclude_HEADERS = \
|
||||
deprecatedincludedir=$(includedir)/glib-2.0/glib/deprecated
|
||||
deprecatedinclude_HEADERS = \
|
||||
deprecated/gallocator.h \
|
||||
deprecated/gcompletion.h \
|
||||
deprecated/grel.h
|
||||
|
||||
glibsubincludedir=$(includedir)/glib-2.0/glib
|
||||
@ -251,7 +252,6 @@ glibsubinclude_HEADERS = \
|
||||
gbookmarkfile.h \
|
||||
gcache.h \
|
||||
gchecksum.h \
|
||||
gcompletion.h \
|
||||
gconvert.h \
|
||||
gdataset.h \
|
||||
gdate.h \
|
||||
|
@ -30,16 +30,14 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "gstrfuncs.h"
|
||||
#include "gmessages.h"
|
||||
#include "gunicode.h"
|
||||
|
||||
#undef G_DISABLE_DEPRECATED
|
||||
|
||||
#include "gcompletion.h"
|
||||
|
||||
#include <glib/gstrfuncs.h>
|
||||
#include <glib/gmessages.h>
|
||||
#include <glib/gunicode.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/**
|
||||
* SECTION:completion
|
||||
* @title: Automatic String Completion
|
@ -56,8 +56,6 @@ struct _GCompletion
|
||||
GCompletionStrncmpFunc strncmp_func;
|
||||
};
|
||||
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
|
||||
GCompletion* g_completion_new (GCompletionFunc func);
|
||||
void g_completion_add_items (GCompletion* cmp,
|
||||
GList* items);
|
||||
@ -74,8 +72,6 @@ void g_completion_set_compare (GCompletion *cmp,
|
||||
GCompletionStrncmpFunc strncmp_func);
|
||||
void g_completion_free (GCompletion* cmp);
|
||||
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_COMPLETION_H__ */
|
@ -39,7 +39,6 @@
|
||||
#include <glib/gbookmarkfile.h>
|
||||
#include <glib/gcache.h>
|
||||
#include <glib/gchecksum.h>
|
||||
#include <glib/gcompletion.h>
|
||||
#include <glib/gconvert.h>
|
||||
#include <glib/gdataset.h>
|
||||
#include <glib/gdate.h>
|
||||
@ -96,6 +95,7 @@
|
||||
|
||||
#ifndef G_DISABLE_DEPRECATED
|
||||
#include <glib/deprecated/gallocator.h>
|
||||
#include <glib/deprecated/gcompletion.h>
|
||||
#include <glib/deprecated/grel.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user