After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 68183 - unused enum types should be deprecated
unused enum types should be deprecated
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other other
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-01-07 14:50 UTC by Matthias Clasen
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2002-01-07 14:50:58 UTC
... now that GtkPatternSpec has mutated into the opaque GPatternSpec.

While this is formally an API change, a LXR search doesn't turn up
any users of GtkMatchType or GTK_MATCH_*, so the breakage caused
by this should be zero.
Comment 1 Owen Taylor 2002-01-15 22:52:01 UTC
Why don't we just deprecate it. While I may believe that 
nobody is using it, being consistent here is easier.
Comment 2 Matthias Clasen 2002-01-16 19:13:26 UTC
OK, deprecated GtkMatchType now. Here are a few more deprecation
candidates from gtkenums.h:
GtkAnchorType, GtkSideType (which stem from the nuked GtkPacker)
GtkPreviewType             (since GtkPreview is deprecated)
GtkSignalRunType           (since gtk_signal_* is deprecated)
GtkSubmenuDirection, GtkSubmenuPlacement
                           (should really be private, used only internally)
GtkVisibility              (since the only users CList, CTree are deprecated)
Comment 3 Owen Taylor 2002-01-30 00:57:24 UTC
GtkAnchorType is used by canvas. I've also left GtkVisibility
undeprecated because a cut-and-paste of CList is still used
in eel (not that _that_ shouldn't be gotten rid of quickly),
and because I think it's fairly harmless. (Well namespaced)

The rest I've deprecated:

Tue Jan 29 19:51:05 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkenums.h: Deprecate GtkPreviewType,
	GtkSignalRunType, GtkSideType, GtkSubmenuPlacement, GtkSubmenuDirection
	(#68183, Matthias Clasen)

	* gtk/gtkmenuitem.h: Remove _gtk_menu_item_set_placement() from
	the public header to avoid having to use GtkSubmenuPlacement.

	* gtk/{gtkmenuitem.c,gtkmenubar.c,gtkmenushell.c}: #define
	GTK_MENU_INTERNALS to preserve access to GtkSubmenu*.