From f6038b72aa561d2c71369143d89d6467db567a07 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 9 May 2003 15:02:46 +0000 Subject: Use glib macro to case from pointer to int. 2003-05-09 Jeremy Katz * printing/e-contact-print.c (e_contact_print_response): Use glib macro to case from pointer to int. * printing/e-contact-print-envelope.c: Add missing #include. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): Use E_SELECT_NAMES_COMPLETION to avoid warning svn path=/trunk/; revision=21138 --- addressbook/printing/e-contact-print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/printing/e-contact-print.c') diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index e3f79099bb..04a3523c56 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -1014,7 +1014,7 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data) GnomePrintJob *master; GnomePrintConfig *config; GnomePrintContext *pc; - gboolean uses_book = (gint) g_object_get_data(G_OBJECT(dialog), "uses_book"); + gboolean uses_book = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(dialog), "uses_book")); EBook *book = NULL; char *query = NULL; ECard *card = NULL; -- cgit