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 581128 - Various improvements
Various improvements
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2009-05-02 19:34 UTC by Marc Pavot
Modified: 2009-05-03 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Get authors from AUTHORS (2.32 KB, patch)
2009-05-02 19:38 UTC, Marc Pavot
committed Details | Review
Remove gtk_object_sink (2.22 KB, patch)
2009-05-02 19:39 UTC, Marc Pavot
none Details | Review
Remove GtkType (3.10 KB, patch)
2009-05-02 19:40 UTC, Marc Pavot
none Details | Review
Remove GtkOptionMenu (5.07 KB, patch)
2009-05-02 19:42 UTC, Marc Pavot
none Details | Review
Remove call deprecated methods (17.02 KB, patch)
2009-05-02 19:45 UTC, Marc Pavot
none Details | Review
Remove eel-canvas-rect (558 bytes, patch)
2009-05-02 19:47 UTC, Marc Pavot
none Details | Review

Description Marc Pavot 2009-05-02 19:34:47 UTC
Please describe the problem:
Hi,

I will use this bug to propose a few patches for small improvements.

Marc

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Marc Pavot 2009-05-02 19:38:56 UTC
Created attachment 133821 [details] [review]
Get authors from AUTHORS

With this patch, Gthumbs gets the list of authors from AUTHORS file instead of hard code to avoid double maintenance.
Comment 2 Marc Pavot 2009-05-02 19:39:56 UTC
Created attachment 133822 [details] [review]
Remove gtk_object_sink

Remove all calls to gtk_object_sink (deprecated)
Comment 3 Marc Pavot 2009-05-02 19:40:48 UTC
Created attachment 133823 [details] [review]
Remove GtkType

Use GType instead of deprecated GtkType.
Comment 4 Marc Pavot 2009-05-02 19:42:14 UTC
Created attachment 133824 [details] [review]
Remove GtkOptionMenu

Replace GtkOptionMenu (deprecated) by GtkComboBox in dlg-save-image.c.

GtkOptionMenu is still widely used in other files but it's a first step.
Comment 5 Marc Pavot 2009-05-02 19:45:05 UTC
Created attachment 133825 [details] [review]
Remove call deprecated methods

This patch removes a few calls to deprecated code (GtkTooltips, gdk_pixbuf_render_to_drawable, g_string_sprintf, gdk_pango_context_set_colormap, g_strcasecmp).

It also fixes search in categories list by using default GTK implementation of search in Treeview.
Comment 6 Marc Pavot 2009-05-02 19:47:15 UTC
Created attachment 133826 [details] [review]
Remove eel-canvas-rect

I'm not really sure about this last patch but eel-canvas-rect seems to not be used anymore so I think eel-canvas-rect.c and eel-canvas-rect.h could be removed. The patch removes them for Makefile.
Comment 7 Michael Chudobiak 2009-05-02 20:12:22 UTC
AUTHORS patch committed - cool, it's nice to have a Makefile guru around.

Some of the gtk stuff is also in bug 575017.

- Mike
Comment 8 Marc Pavot 2009-05-02 22:30:50 UTC
I didn't notice bug 575017 but yes, most of my patches are already proposed.

The only remaining interesting one is "Remove GtkOptionMenu". (It's the less obvious patch).

Marc
Comment 9 Lincoln de Sousa 2009-05-03 08:34:52 UTC
Hey buddy

I don't think it is wise to create a bug report with title "Various improvements", like in this case, it is making we duplicate our effort, since it is does not appear when you're searching for something.

Removing deprecated symbols task is almost done in #575017 bug, I suggest to close this bug and file a new bug for each new enhancement/improvement.