forked from AuroraMiddleware/gtk
Fix some print format warnings
https://bugzilla.gnome.org/show_bug.cgi?id=734736
This commit is contained in:
parent
694c8d32d5
commit
1b9fa975af
@ -424,7 +424,7 @@ _clipboard_window_procedure (HWND hwnd,
|
||||
retval = inner_clipboard_window_procedure (hwnd, message, wparam, lparam);
|
||||
debug_indent -= 2;
|
||||
|
||||
GDK_NOTE (EVENTS, g_print (" => %I64d%s", (gint64) retval, (debug_indent == 0 ? "\n" : "")));
|
||||
GDK_NOTE (EVENTS, g_print (" => %" G_GINT64_FORMAT "%s", (gint64) retval, (debug_indent == 0 ? "\n" : "")));
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
@ -287,7 +287,7 @@ _gdk_win32_window_procedure (HWND hwnd,
|
||||
retval = inner_window_procedure (hwnd, message, wparam, lparam);
|
||||
debug_indent -= 2;
|
||||
|
||||
GDK_NOTE (EVENTS, g_print (" => %I64d%s", (gint64) retval, (debug_indent == 0 ? "\n" : "")));
|
||||
GDK_NOTE (EVENTS, g_print (" => %" G_GINT64_FORMAT "%s", (gint64) retval, (debug_indent == 0 ? "\n" : "")));
|
||||
|
||||
return retval;
|
||||
}
|
||||
@ -3268,7 +3268,7 @@ gdk_event_translate (MSG *msg,
|
||||
break;
|
||||
|
||||
case WM_ACTIVATEAPP:
|
||||
GDK_NOTE (EVENTS, g_print (" %s thread: %I64d",
|
||||
GDK_NOTE (EVENTS, g_print (" %s thread: %" G_GINT64_FORMAT,
|
||||
msg->wParam ? "YES" : "NO",
|
||||
(gint64) msg->lParam));
|
||||
if (msg->wParam && GDK_WINDOW_IS_MAPPED (window))
|
||||
|
@ -60,7 +60,7 @@ _gtk_mount_operation_kill_process (GPid pid,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_NOT_SUPPORTED,
|
||||
_("Cannot kill process with PID %d. Operation is not implemented."),
|
||||
pid);
|
||||
(int) pid);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -1088,7 +1088,7 @@ add_pid_to_process_list_store (GtkMountOperation *mount_operation,
|
||||
&pixbuf);
|
||||
|
||||
if (name == NULL)
|
||||
name = g_strdup_printf (_("Unknown Application (PID %d)"), pid);
|
||||
name = g_strdup_printf (_("Unknown Application (PID %d)"), (int) pid);
|
||||
|
||||
if (command_line == NULL)
|
||||
command_line = g_strdup ("");
|
||||
|
Loading…
Reference in New Issue
Block a user