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 561223 - Cleaning up GTK Includes in gdm
Cleaning up GTK Includes in gdm
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks: 563413
 
 
Reported: 2008-11-17 15:17 UTC by Maxim Ermilov
Modified: 2009-07-16 18:07 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
patch for this bug (6.19 KB, patch)
2008-11-17 15:30 UTC, Maxim Ermilov
accepted-commit_now Details | Review

Description Maxim Ermilov 2008-11-17 15:17:48 UTC
I'm working on implementing http://live.gnome.org/GnomeGoals/CleanupGTKIncludes

If it's not a good idea, or not currently on the agenda, please let me know.
Otherwise I'll be working on this for now.
Comment 1 Maxim Ermilov 2008-11-17 15:30:07 UTC
Created attachment 122855 [details] [review]
patch for this bug
Comment 2 André Klapper 2009-01-25 21:19:38 UTC
ping.
Comment 3 William Jon McCann 2009-01-27 17:27:03 UTC
Looks fine but the copy/pasted libnotification area code should be fixed in the original first if it hasn't already been.
Comment 4 André Klapper 2009-02-09 19:32:27 UTC
Jon: There's a ticket and patch about it at http://trac.galago-project.org/ticket/172
Comment 5 Matthias Clasen 2009-05-03 21:32:01 UTC
Can we get this committed now, Jon ?
Comment 6 Luis Menina 2009-06-12 00:43:33 UTC
ping...
Comment 7 Ray Strode [halfline] 2009-06-12 18:35:19 UTC
Please, commit!  Thanks for the effort and patience here.
Comment 8 Luis Menina 2009-06-13 22:06:45 UTC
It seems that the patch was already commited. However gui/user-switch-applet/gdm-user-menu-item.h has still a reference to <gtk/gtkimagemenuitem.h>.

However, this file isn't referenced anywere, not even in a Makefile.am. Moreover, the corresponding gdm-user-menu-item.c isn't compiled either, it only appears in po files.

I don't know GDM codebase, so there's 2 possibilities:
1. gdm-user-menu-item is a new object, so the '.c' file should be fixed to use the corresponding header, and the header should be fixed with respect to the current bug
2. gdm-user-menu-item is an old object, and is not required anymore. It should then be removed from the repository, and the corresponding .po files fixed.
Comment 9 Ray Strode [halfline] 2009-06-22 13:04:35 UTC
Looks like it was replaced by gdm-entry-menu-item and never got removed from version control.
Comment 10 André Klapper 2009-06-22 13:50:51 UTC
(In reply to comment #9)
> Looks like it was replaced by gdm-entry-menu-item and never got removed from
> version control.

So what about cleaning up if it's totally unused?
Comment 11 Ray Strode [halfline] 2009-07-16 18:07:11 UTC
gone.