summaryrefslogtreecommitdiff
path: root/src/core/display.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2007-12-19 21:38:15 +0000
committerHavoc Pennington <hp@src.gnome.org>2007-12-19 21:38:15 +0000
commitb718f79c47022929cc401cfd35576e4bd71815ca (patch)
tree67bfdc1e5616bf10432c0307695a1fbdfac7ee53 /src/core/display.c
parent72b08c82b16a850fd4f0cd52d58812b4180fe969 (diff)
downloadmetacity-b718f79c47022929cc401cfd35576e4bd71815ca.tar.gz
fix a third warning about %d and long int
2007-12-19 Havoc Pennington <hp@redhat.com> * src/core/display.c (meta_display_open): fix a third warning about %d and long int * src/core/delete.c (io_from_ping_dialog): fix another warning about long int to %d * src/core/compositor.c (meta_compositor_new): fix a warning about long int to %d * src/core/iconcache.c (meta_read_icons): use meta_ui_get_fallback_icons() instead of incorrectly including theme.h * src/ui/ui.c (meta_ui_get_fallback_icons): new function svn path=/trunk/; revision=3492
Diffstat (limited to 'src/core/display.c')
-rw-r--r--src/core/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/display.c b/src/core/display.c
index b0df9823..6cc54653 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -418,7 +418,7 @@ meta_display_open (void)
meta_prefs_add_listener (prefs_changed_callback, display);
- meta_verbose ("Creating %d atoms\n", G_N_ELEMENTS (atom_names));
+ meta_verbose ("Creating %d atoms\n", (int) G_N_ELEMENTS (atom_names));
XInternAtoms (display->xdisplay, atom_names, G_N_ELEMENTS (atom_names),
False, atoms);
display->atom_net_wm_name = atoms[0];