• R/O
  • SSH
  • HTTPS

gsynaptics: Commit


Commit MetaInfo

Revisión127 (tree)
Tiempo2009-01-28 13:19:51
Autorikezoe

Log Message

* src/main.c: Fix compiler warnings.

Cambiar Resumen

Diferencia incremental

--- gsynaptics/trunk/ChangeLog (revision 126)
+++ gsynaptics/trunk/ChangeLog (revision 127)
@@ -1,6 +1,7 @@
11 2009-01-28 Hiroyuki Ikezoe <poincare@ikezoe.net>
22
33 * data/touchpad.png: Fix corruption.
4+ * src/main.c: Fix compiler warnings.
45
56 2009-01-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
67
--- gsynaptics/trunk/src/main.c (revision 126)
+++ gsynaptics/trunk/src/main.c (revision 127)
@@ -86,7 +86,7 @@
8686 gdk_spawn_command_line_on_screen (screen, command, &error);
8787 if (error != NULL)
8888 {
89- g_warning (error->message);
89+ g_warning ("%s", error->message);
9090 g_error_free (error);
9191 }
9292 g_free (command);
@@ -690,7 +690,7 @@
690690
691691 gtk_window_set_default_size (GTK_WINDOW (widget), 400, -1);
692692
693- path = g_build_filename (DATADIR "/pixmaps", "touchpad.png");
693+ path = g_build_filename (DATADIR "/pixmaps", "touchpad.png", NULL);
694694 if (path)
695695 {
696696 icon_pixbuf = gdk_pixbuf_new_from_file (path, NULL);
Show on old repository browser