Subscription date : 14 January 2008
Messages : 1122
|
2 petits truc à faire il me semble pour avoir un code plus propre :
1> Ne faudrait-il pas remplacer les type c par les types gtk car là les deux cohabitent c'est pas propre (int >> gint, double >> gdouble, etc...)
2> Il y a quand meme quelques warnings dans le code, c'est pas très grave mais c'est pas propre. Comme je suis super sympa je les poste :
cairo-dock ...
cairo-dock-config.c:1280: attention : assignment discards qualifiers from pointer target type
cairo-dock-applications-manager.c:218: attention : déclaration implicite de la fonction « «kill» »
cairo-dock-menu.c:632: attention : déclaration implicite de la fonction « «localtime_r» »
cairo-dock-file-manager.c:357: attention : déclaration implicite de la fonction « «cairo_dock_remove_html_spaces» »
cairo-dock-file-manager.c:369: attention : assignment from incompatible pointer type
cairo-dock-file-manager.c:421: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-file-manager.c:435: attention : assignment from incompatible pointer type
cairo-dock-file-manager.c:469: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-file-manager.c:490: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-file-manager.c:511: attention : passing argument 3 of «cairo_dock_show_temporary_dialog» from incompatible pointer type
cairo-dock-keybinder.c:383: attention : initialization discards qualifiers from pointer target type
module rendering ...
rendering-desklet-caroussel.c:382: attention : assignment from incompatible pointer type
rendering-desklet-caroussel.c:383: attention : assignment from incompatible pointer type
rendering-desklet-tree.c:178: attention : assignment from incompatible pointer type
rendering-desklet-tree.c:179: attention : assignment from incompatible pointer type
rendering-desklet-simple.c:147: attention : assignment from incompatible pointer type
rendering-desklet-controler.c:314: attention : assignment from incompatible pointer type
rendering-desklet-controler.c:315: attention : assignment from incompatible pointer type
module gnome-integration-old ...
/usr/include/cairo-dock/cairo-dock/cairo-dock-applet-facility.h:1191:1: attention : « D_ » redéfini
/usr/include/libgnomeui-2.0/libgnomeui/gnome-app-helper.h:545:1: attention : ceci est la localisation d'une précédente définition
module gnome-integration ...
applet-gvfs.c:64: attention : passing argument 1 of «cairo_dock_search_icon_s_path» discards qualifiers from pointer target type
module xfce-integration ...
applet-thunar-vfs.c:586: attention : passing argument 1 of «thunar_vfs_mime_handler_get_command» from incompatible pointer type
applet-thunar-vfs.c:587: attention : passing argument 1 of «thunar_vfs_mime_handler_exec» from incompatible pointer type
applet-thunar-vfs.c:715: attention : assignment discards qualifiers from pointer target type
applet-thunar-vfs.c:755: attention : assignment discards qualifiers from pointer target type
module clock ...
applet-draw.c:47: attention : déclaration implicite de la fonction « «localtime_r» »
applet-draw.c:125: attention : déclaration implicite de la fonction « «kill» »
applet-notifications.c:80: attention : déclaration implicite de la fonction « «kill» »
module dustbin ...
applet-notifications.c:91: attention : passing argument 5 of «cairo_dock_fm_unmount_full» from incompatible pointer type
applet-trashes-manager.c:299: attention : déclaration implicite de la fonction « «lstat» »
module Xgamma ...
applet-init.c:50: attention : passing argument 1 of «XF86VidModeQueryVersion» discards qualifiers from pointer target type
applet-init.c:57: attention : passing argument 1 of «XF86VidModeQueryExtension» discards qualifiers from pointer target type
applet-xgamma.c:24: attention : passing argument 1 of «XF86VidModeGetGamma» discards qualifiers from pointer target type
applet-xgamma.c:38: attention : passing argument 1 of «XF86VidModeSetGamma» discards qualifiers from pointer target type
applet-xgamma.c:164: attention : passing argument 3 of «cairo_dock_build_dialog» from incompatible pointer type
module weather ...
applet-read-data.c:148:39: attention : constante caractère multi-caractères
applet-read-data.c:148: attention : comparaison est toujours vraie en raison d'une gamme limitée de type de données
La plus part des warnings sont juste des casts absents c'est facile à corriger... |