aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog11
-rw-r--r--addressbook/gui/component/select-names/e-select-names-completion.c2
-rw-r--r--addressbook/printing/e-contact-print-envelope.c1
-rw-r--r--addressbook/printing/e-contact-print.c2
4 files changed, 14 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index c3dc185d75..56a84db076 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,14 @@
+2003-05-09 Jeremy Katz <katzj@redhat.com>
+
+ * 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
+
2003-05-06 Chris Toshok <toshok@ximian.com>
[ really commit this, fixes bug #41910 ]
diff --git a/addressbook/gui/component/select-names/e-select-names-completion.c b/addressbook/gui/component/select-names/e-select-names-completion.c
index eb69f33afb..5a9fc2deb4 100644
--- a/addressbook/gui/component/select-names/e-select-names-completion.c
+++ b/addressbook/gui/component/select-names/e-select-names-completion.c
@@ -995,7 +995,7 @@ e_select_names_completion_start_query (ESelectNamesCompletion *comp, const gchar
solely on our cached cards, signal
that the search is over. */
if (!comp->priv->pending_completion_seq)
- e_select_names_completion_done (E_COMPLETION (comp));
+ e_select_names_completion_done (E_SELECT_NAMES_COMPLETION (comp));
} else {
g_free (comp->priv->query_text);
comp->priv->query_text = NULL;
diff --git a/addressbook/printing/e-contact-print-envelope.c b/addressbook/printing/e-contact-print-envelope.c
index 5ed3fb8211..33e7361605 100644
--- a/addressbook/printing/e-contact-print-envelope.c
+++ b/addressbook/printing/e-contact-print-envelope.c
@@ -28,6 +28,7 @@
#include <libgnomeprintui/gnome-print-dialog.h>
#include <libgnomeprint/gnome-print.h>
#include <libgnomeprint/gnome-print-job.h>
+#include <libgnomeprintui/gnome-print-job-preview.h>
#include "addressbook/backend/ebook/e-card.h"
#include "addressbook/backend/ebook/e-card-simple.h"
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;
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396