forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
ad4a5a4aea
commit
2606a4eb79
12
ChangeLog
12
ChangeLog
@ -1,5 +1,17 @@
|
||||
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)
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): Add docs
|
||||
for new style properties. (#342535, Mart Raudsepp)
|
||||
|
||||
|
@ -1,5 +1,17 @@
|
||||
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)
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_class_init): Add docs
|
||||
for new style properties. (#342535, Mart Raudsepp)
|
||||
|
||||
|
@ -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))
|
||||
|
||||
|
@ -656,7 +656,7 @@ void
|
||||
_gtk_printer_request_details (GtkPrinter *printer)
|
||||
{
|
||||
GtkPrintBackendClass *backend_class = GTK_PRINT_BACKEND_GET_CLASS (printer->priv->backend);
|
||||
return backend_class->printer_request_details (printer);
|
||||
backend_class->printer_request_details (printer);
|
||||
}
|
||||
|
||||
GtkPrinterOptionSet *
|
||||
@ -682,7 +682,7 @@ _gtk_printer_get_settings_from_options (GtkPrinter *printer,
|
||||
GtkPrintSettings *settings)
|
||||
{
|
||||
GtkPrintBackendClass *backend_class = GTK_PRINT_BACKEND_GET_CLASS (printer->priv->backend);
|
||||
return backend_class->printer_get_settings_from_options (printer, options, settings);
|
||||
backend_class->printer_get_settings_from_options (printer, options, settings);
|
||||
}
|
||||
|
||||
void
|
||||
@ -692,7 +692,7 @@ _gtk_printer_prepare_for_print (GtkPrinter *printer,
|
||||
GtkPageSetup *page_setup)
|
||||
{
|
||||
GtkPrintBackendClass *backend_class = GTK_PRINT_BACKEND_GET_CLASS (printer->priv->backend);
|
||||
return backend_class->printer_prepare_for_print (printer, print_job, settings, page_setup);
|
||||
backend_class->printer_prepare_for_print (printer, print_job, settings, page_setup);
|
||||
}
|
||||
|
||||
cairo_surface_t *
|
||||
|
@ -226,7 +226,7 @@ static void
|
||||
delegate_unselect_uri (GtkRecentChooser *chooser,
|
||||
const gchar *uri)
|
||||
{
|
||||
return gtk_recent_chooser_unselect_uri (get_delegate (chooser), uri);
|
||||
gtk_recent_chooser_unselect_uri (get_delegate (chooser), uri);
|
||||
}
|
||||
|
||||
static GList *
|
||||
|
Loading…
Reference in New Issue
Block a user