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 344288 - gtkprintoperationpreview.c:'gtk_print_operation_preview_is_selected' must return a value
gtkprintoperationpreview.c:'gtk_print_operation_preview_is_selected' must ret...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Printing
2.9.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-06-08 14:22 UTC by Kazuki Iwamoto
Modified: 2006-06-08 18:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kazuki Iwamoto 2006-06-08 14:22:53 UTC
Please describe the problem:
gtk_print_operation_preview_is_selected has a return-value.
But g_return_if_fail is used.

Steps to reproduce:
1.compile gtkprintoperationpreview.c


Actual results:
Following message is displayed. (Visual C++)
gtkprintoperationpreview.c(114) : error C4033: 'gtk_print_operation_preview_is_selected' must return a value

Expected results:
g_return_val_if_fail should be used.

Does this happen every time?


Other information:
Comment 1 Matthias Clasen 2006-06-08 18:10:30 UTC
	* gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected): 
	Use g_return_val_if_fail (#344288, Kazuki Iwamoto)