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 313219 - gal_view_new_dialog_set_property() does GTK_IS_ENTRY(random)
gal_view_new_dialog_set_property() does GTK_IS_ENTRY(random)
Status: RESOLVED FIXED
Product: GAL
Classification: Deprecated
Component: GalView
2.5.x
Other Linux
: Normal normal
: ---
Assigned To: Radek Doulik
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-08-11 11:50 UTC by Stanislav Brabec
Modified: 2005-12-06 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug fix (1.24 KB, patch)
2005-11-24 16:26 UTC, Veerapuram Varadhan
none Details | Review

Description Stanislav Brabec 2005-08-11 11:50:30 UTC
Version details: gal-2.5.3

Function gal_view_new_dialog_set_property() contains following code:

        GtkWidget *entry;
        ... code with no reference to entry ...
        if (entry && GTK_IS_ENTRY(entry)) {

gal-view-new-dialog.c: In function 'gal_view_new_dialog_set_property':
gal-view-new-dialog.c:259: warning: 'entry' is used uninitialized in this function
Comment 1 André Klapper 2005-10-10 00:56:35 UTC
valid.
Comment 2 Veerapuram Varadhan 2005-11-24 16:26:19 UTC
Created attachment 55191 [details] [review]
Bug fix

gets the widget pointer, before, using it unitialized.
Comment 3 Srinivasa Ragavan 2005-11-29 05:05:03 UTC
Looks fine to commit.
Comment 4 Veerapuram Varadhan 2005-12-06 08:56:41 UTC
Fixed in CVS.