64bits fixes.

* capplets/font/main.c: (sample_expose):
        * gnome-settings-daemon/gnome-settings-gtk1theme.c:
        (apply_settings):
        * vfs-methods/themus/theme-method.c:
        64bits fixes.
This commit is contained in:
Frédéric Crozat 2004-02-06 10:53:58 +00:00
parent 431b1882f3
commit 285427e21f
4 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2004-02-06 Frederic Crozat <fcrozat@mandrakesoft.com>
* capplets/font/main.c: (sample_expose):
* gnome-settings-daemon/gnome-settings-gtk1theme.c:
(apply_settings):
* vfs-methods/themus/theme-method.c:
64bits fixes.
2004-02-03 Carlos Perelló Marín <carlos@gnome.org> 2004-02-03 Carlos Perelló Marín <carlos@gnome.org>
* configure.in, capplets/Makefile.am: Removed the localization capplet * configure.in, capplets/Makefile.am: Removed the localization capplet

View file

@ -86,7 +86,7 @@ sample_size_request (GtkWidget *darea,
static void static void
sample_expose (GtkWidget *darea, sample_expose (GtkWidget *darea,
GdkEventExpose expose) GdkEventExpose *expose)
{ {
GdkPixbuf *pixbuf = g_object_get_data (G_OBJECT (darea), "sample-pixbuf"); GdkPixbuf *pixbuf = g_object_get_data (G_OBJECT (darea), "sample-pixbuf");
int width = gdk_pixbuf_get_width (pixbuf); int width = gdk_pixbuf_get_width (pixbuf);

View file

@ -151,7 +151,7 @@ apply_settings (void)
gchar *theme_filename; gchar *theme_filename;
gchar *rc_filename; gchar *rc_filename;
gchar *current_contents; gchar *current_contents;
gint current_length; gsize current_length;
gchar *new_contents; gchar *new_contents;
GError *err = NULL; GError *err = NULL;

View file

@ -21,6 +21,7 @@
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <libintl.h>
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <libgnomevfs/gnome-vfs.h> #include <libgnomevfs/gnome-vfs.h>