diff options
author | Hans Breuer <hans@breuer.org> | 2001-03-31 19:33:49 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2001-03-31 19:33:49 +0000 |
commit | 6ff97d2e0b1fc69390982c7b58b6649a00e420cd (patch) | |
tree | f55593eadb81596bc16d5ae37ae0880c7d41e7da /gtk/gtkfilesel.c | |
parent | 3b68d7db89b7a5bbcfc8f959c2c12569f3643fed (diff) | |
download | gdk-pixbuf-6ff97d2e0b1fc69390982c7b58b6649a00e420cd.tar.gz |
disable USE_MMX for msvc build cause the assembler doesn't fit and is out
2001-03-31 Hans Breuer <hans@breuer.org>
* config.h.win32.in : disable USE_MMX for msvc build cause
the assembler doesn't fit and is out of my scope. Disable
USE_GMODULE for msvc build as wel. The right way to share
binaries on win32 would be to use libtiff.dll etc. To reduce
installation hassles IMO it's better to include all fileformats
builtin to gdk-pixbuf
* gdk-pixbuf/makefile.msc : new file
* gdk/gdk.def : updated
* gdk/win32/gdkevents-win32.c : don't erase the background if
.no_bg is set. It improves the scrolling (e.g. of testgtk main
buttons
* gdk/win32/gdkgeometry-win32.c : added comment about the above
* gdk/win32/gdkwindow-win32.c : added three new functions like
the X version. Only one is implemented, because the other two
"gdk_window_begin_(resize|move)_drag" got no docs and appear to
be default behaviour on win32 anyway ...
* gtk/gtk.def : updated
* gtk/makefile.msc.in : update for new files, use glib-genmarshal
from where it was built and add an additional rule to automagically
build gtkmarshal.[hc]
* gtk/gtkfilesel.c (open_new_dir) : don't increase n_entries
before array access for the current entry isn't finished
* gtk/gtktreeitem.c (gtk_tree_item_subtree_button_click) :
use g_return_val_if_fail
* gtk/testgtk.c (window_controls) : don't use the *wrong* size
for the static array, but let the compiler calculate it. It
makes me wonder if gcc isn't capable to catch bugs like this ...
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r-- | gtk/gtkfilesel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 3112cde6e..23a43a2b8 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -2417,7 +2417,6 @@ open_new_dir (gchar *dir_name, g_warning (_("The filename %s couldn't be converted to UTF-8. Try setting the environment variable G_BROKEN_FILENAMES."), dirent_ptr->d_name); continue; } - n_entries++; g_string_assign (path, sys_dir_name); if (path->str[path->len-1] != G_DIR_SEPARATOR) @@ -2438,6 +2437,8 @@ open_new_dir (gchar *dir_name, } else sent->entries[n_entries].is_dir = 1; + + n_entries++; } sent->entry_count = n_entries; |