+2008-04-18 Michael Natterer <mitch@imendio.com>
+
+ * modules/printbackends/cups/gtkprintercups.[ch]
+ (gtk_printer_cups_get_ppd_name): change return value and local
+ variable to const gchar* to fix warning about discarding const
+ qualifier.
+
2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c:
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
#ifndef __GTK_PRINTER_CUPS_H__
#define __GTK_PRINTER_CUPS_H__
-#include <glib.h>
#include <glib-object.h>
#include <cups/cups.h>
#include <cups/ppd.h>
GtkPrinterCups *gtk_printer_cups_new (const char *name,
GtkPrintBackend *backend);
ppd_file_t *gtk_printer_cups_get_ppd (GtkPrinterCups *printer);
-char *gtk_printer_cups_get_ppd_name (GtkPrinterCups *printer);
+const gchar *gtk_printer_cups_get_ppd_name (GtkPrinterCups *printer);
G_END_DECLS