diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-05-22 12:53:13 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-05-22 12:53:13 +0000 |
commit | 2606a4eb794e3555406799b05dc0fcdb0e565b3e (patch) | |
tree | 556b2be45b03e4c7e18754750385f37042af7813 /gtk/gtkfilesystem.c | |
parent | ad4a5a4aea0bcec201990bdf1d16bf3af3dc5683 (diff) | |
download | gtk+-2606a4eb794e3555406799b05dc0fcdb0e565b3e.tar.gz |
Don't return values from void functions.
2006-05-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprinter.c (_gtk_printer_prepare_for_print)
(_gtk_printer_get_settings_from_options)
(_gtk_printer_request_details): Don't return values from void
functions.
* gtk/gtkrecentchooserutils.c (delegate_unselect_uri): Don't
return a value from a void function.
* gtk/gtkfilesystem.c (gtk_file_system_cancel_operation): Don't
return a value from a void function. Also, don't put
semicolons behind G_DEFINE_TYPE. (#342543)
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r-- | gtk/gtkfilesystem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index f2e48e7ba8..c7f965e23f 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -496,7 +496,7 @@ gtk_file_system_cancel_operation (GtkFileSystemHandle *handle) { g_return_if_fail (GTK_IS_FILE_SYSTEM_HANDLE (handle)); - return GTK_FILE_SYSTEM_GET_IFACE (handle->file_system)->cancel_operation (handle); + GTK_FILE_SYSTEM_GET_IFACE (handle->file_system)->cancel_operation (handle); } /** @@ -1245,7 +1245,7 @@ struct _GtkFileSystemModuleClass GTypeModuleClass parent_class; }; -G_DEFINE_TYPE (GtkFileSystemModule, _gtk_file_system_module, G_TYPE_TYPE_MODULE); +G_DEFINE_TYPE (GtkFileSystemModule, _gtk_file_system_module, G_TYPE_TYPE_MODULE) #define GTK_TYPE_FILE_SYSTEM_MODULE (_gtk_file_system_module_get_type ()) #define GTK_FILE_SYSTEM_MODULE(module) (G_TYPE_CHECK_INSTANCE_CAST ((module), GTK_TYPE_FILE_SYSTEM_MODULE, GtkFileSystemModule)) |