GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

  1. 30 Sep, 2002 3 commits
  2. 29 Sep, 2002 3 commits
    • Manish Singh's avatar
      add deprecation compile flags · d8efdf00
      Manish Singh authored
      Sun Sep 29 14:22:47 2002 Manish Singh  <yosh@gimp.org>
      
              * contrib/gdk-pixbuf-xlib/Makefile.am demos/Makefile.am
              demos/gtk-demo/Makefile.am: add deprecation compile flags
      
              * demos/testanimation.c demos/testpixbuf-save.c demos/testpixbuf.c
              demos/gtk-demo/*.c gdk-pixbuf/gdk-pixbuf-animation.c
              gdk-pixbuf/gdk-pixbuf.c: minor cleanups, getting rid of
              unnecessary casts
      d8efdf00
    • Manish Singh's avatar
      use #defines instead of enum for GtkFundamentalType compat, to prevent · 9ab61d69
      Manish Singh authored
      Sun Sep 29 13:11:13 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktypeutils.h: use #defines instead of enum for
              GtkFundamentalType compat, to prevent 64-bit vs. 32-bit
              confusion (#90400)
      9ab61d69
    • Tor Lillqvist's avatar
      Instead of forcing -fnative-struct into CFLAGS when using gcc for Win32, · b445615b
      Tor Lillqvist authored
      2002-09-29  Tor Lillqvist  <tml@iki.fi>
      
      	* configure.in: Instead of forcing -fnative-struct into CFLAGS
      	when using gcc for Win32, check for gcc version 3.x which uses
      	-mms-bitfields instead. Also check if either of these switches is
      	actually available at all, and warn if not. Thanks to Soren
      	Andersen for the inspiration. (#93965)
      b445615b
  3. 28 Sep, 2002 2 commits
  4. 27 Sep, 2002 11 commits
    • Matthias Clasen's avatar
      Make drawing to the root window work. (#89492) · bf67d2f1
      Matthias Clasen authored
      	* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Make
      	drawing to the root window work.  (#89492)
      bf67d2f1
    • Owen Taylor's avatar
      (#91249, Thomas Leonard) · e369df6b
      Owen Taylor authored
      Fri Sep 27 18:14:00 2002  Owen Taylor  <otaylor@redhat.com>
              (#91249, Thomas Leonard)
      
              * gtk/gtkselection.c (gtk_selection_convert): Initialize
              idle time to 0.
      
              * gtk/gtkselection.c: Up idle timeout to 5 minutes
              from 5 seconds.
      e369df6b
    • Owen Taylor's avatar
      Patch from J. Ali Harlow to avoid generating gtk.immodules when · 27180abb
      Owen Taylor authored
      Fri Sep 27 17:40:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * modules/input/Makefile.am: Patch from J. Ali Harlow
              to avoid generating gtk.immodules when cross-compiling.
              (#87774)
      27180abb
    • Federico Mena Quintero's avatar
      Free the context if we cannot allocate the HeaderBuf. · 743a039c
      Federico Mena Quintero authored
      2002-09-27  Federico Mena Quintero  <federico@ximian.com>
      
      	* io-ico.c (gdk_pixbuf__ico_image_begin_load): Free the context if
      	we cannot allocate the HeaderBuf.
      743a039c
    • Federico Mena Quintero's avatar
      Fix the update region notification to handle top-to-bottom and · 8cec022f
      Federico Mena Quintero authored
      2002-09-27  Federico Mena Quintero  <federico@ximian.com>
      
      	* io-bmp.c (OneLine): Fix the update region notification to handle
      	top-to-bottom and bottom-to-top BMPs correctly.
      8cec022f
    • Eric Warmenhoven's avatar
      Move gdk_keval_name and gdk_keyval_from_name to new gdkkeynames.c, share · 393ad738
      Eric Warmenhoven authored
      Fri Sep 27 14:30:34 2002 Eric Warmenhoven <eric@warmenhoven.org>
      
      	* gdk/Makefile.am gdk/gdkkeynames.c gdk/linux-fb/gdkmain-fb.c
      	gdk/win32/gdkkeys-win32.c: Move gdk_keval_name and
      	gdk_keyval_from_name to new gdkkeynames.c, share implementation for
      	linux-fb and win32 (#94123)
      
      	* gdk/linux-fb/Makefile.am gdk/linux-fb/gdkkeyboard-fb.c
      	gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkmouse-fb.c: add
      	-DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile
      	flags
      
      	* gdk/linux-fb/gdkdisplay-fb.c: prevent segfault if display can't
      	initialize
      
      	* gdk/linux-fb/gdkkeyboard-fb.c: better parsing of keycodes
      
      	* gdk/linux-fb/gdkwindow-fb.c: add stubs for new functions
      393ad738
    • Owen Taylor's avatar
      Fix some signed/unsigned warnings. (#85863, David L. Cooper II) · afecb32d
      Owen Taylor authored
      Fri Sep 27 17:23:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
              (#85863, David L. Cooper II)
      afecb32d
    • Owen Taylor's avatar
      ri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com> · f3f02c0e
      Owen Taylor authored
              * gtk/gtklabel.c : Replaced instances where strlen (label->label) is
              used to get a byte code with strlen (label->text) as label->text
              contains the actual display text, while label->label contains
              markup / mnemonics. (#92683, Patch from Shivram U
              <shivaram.upadhyayula@wipro.com>, with some additions.)
      
              * gtk/gtklabel.c (gtk_label_set_uline_text_internal):
              Fix a leftover, now incorrect comment.
      f3f02c0e
    • Owen Taylor's avatar
      Handle the case where the first page isn't visible. (#90336, bug tracked · 8be3514f
      Owen Taylor authored
      Fri Sep 27 16:15:11 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtknotebook.c (gtk_notebook_get_event_window_position):
              Handle the case where the first page isn't visible.
              (#90336, bug tracked down by Chema Celorio)
      8be3514f
    • Owen Taylor's avatar
      Change accelerator from C_ut to Cu_t. (#82747, Paolo Maggi) · 6d915693
      Owen Taylor authored
      Fri Sep 27 15:57:15 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkstock.c (builtin_items): Change accelerator
              from C_ut to Cu_t. (#82747, Paolo Maggi)
      6d915693
    • Owen Taylor's avatar
      Reset the animation iter on unrealize as well as unmap. (#94336) · 4816a141
      Owen Taylor authored
      Fri Sep 27 15:27:45 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkimage.c (gtk_image_unrealize): Reset the
              animation iter on unrealize as well as unmap.
              (#94336)
      
              * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Don't
              turn a value of "" into NULL. (#94157, Vitaly Tishkov)
      4816a141
  5. 26 Sep, 2002 1 commit
  6. 25 Sep, 2002 6 commits
    • Havoc Pennington's avatar
      fix GtkWindowMnemonic to have a separate typedef · 1689117c
      Havoc Pennington authored
      2002-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
      	typedef
      
      	* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
      	FULLSCREEN state
      
      	* tests/testgtk.c (get_state_controls): add
      	fullscreen/unfullscreen test
      
      	* gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable
      
      	* gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
      	variable
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
      	variable
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_window_manager_changed): emit
      	window_manager_changed signal
      
      	* gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
      	window_manager_changed signal
      
      	* gdk/x11/gdkevents-x11.c
      	(gdk_x11_screen_get_window_manager_name): new function
      
      	* gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
      	skip_taskbar_hint, skip_pager_hint properties
      	(gtk_window_set_skip_taskbar_hint):
      	(gtk_window_get_skip_taskbar_hint):
      	(gtk_window_set_skip_pager_hint):
      	(gtk_window_get_skip_pager_hint):
      	(gtk_window_fullscreen):
      	(gtk_window_unfullscreen): new functions
      
      	* gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state
      
      	* gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
      	values
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
      	(gdk_window_set_skip_pager_hint):
      	(gdk_window_fullscreen):
      	(gdk_window_unfullscreen): new functions
      	(set_initial_hints): set fullscreen here if appropriate
      1689117c
    • Owen Taylor's avatar
      Add gdk_screen_make_display_name(), which returns a display name that can · d41f210d
      Owen Taylor authored
      Wed Sep 25 10:51:24 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/gdkscreen.h gdk/{x11,win32,linux-fb}/gdkscreen-*.c:
              Add gdk_screen_make_display_name(), which returns a
              display name that can be used to open a display with the
              screen as the default (Based on patch from Mark McLoughlin,
              #86013)
      d41f210d
    • Owen Taylor's avatar
      Patch from Eric Warmenhoven, #94123 · 1c41ed3e
      Owen Taylor authored
      Wed Sep 25 08:50:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              Patch from Eric Warmenhoven, #94123
      
              * gdk/gdkmouse-fb.c: Add scrolling support for
              imps2 mice.
      
              * gdk/linux-fb/gdkimage-fb.c: Fix compilation error
              in last gdkimage-fb.c commit.
      1c41ed3e
    • Manish Singh's avatar
      add -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile · 234e191c
      Manish Singh authored
      Wed Sep 25 00:16:53 2002  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED
              and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags
      
              * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c
              gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c
              gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c
              gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c
              gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c
              gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c
              gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c
              gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c
              gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing
              gdk_foo_{ref,unref} to g_object equivalents.
      234e191c
    • Manish Singh's avatar
      check if last_selected is valid before doing a strcmp on it, which may · de4cf94b
      Manish Singh authored
      Tue Sep 24 23:54:20 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkfilesel.c: check if last_selected is valid before doing
              a strcmp on it, which may happen if selections happen programmatically
              instead of through the UI (#86566)
      de4cf94b
    • Manish Singh's avatar
      preserve ordering from gtk_tree_selection_foreach when returning filenames · 9cde6b74
      Manish Singh authored
      Tue Sep 24 23:33:48 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkfilesel.c: preserve ordering from gtk_tree_selection_foreach
              when returning filenames for gtk_file_selection_get_selections
              (#86567)
      
              * gtk/gtkclipboard.c: GtkClipboard struct should have a GObject
              in it, not a GObjectClass
      9cde6b74
  7. 24 Sep, 2002 14 commits
    • Owen Taylor's avatar
      Make a GObject (#75970, James Henstridge) · 273f9911
      Owen Taylor authored
      Tue Sep 24 18:18:36 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkclipboard.[ch]: Make a GObject (#75970, James
              Henstridge)
      273f9911
    • Owen Taylor's avatar
      Look up the visual as well as the colormap, since calling · 6a7d4ee3
      Owen Taylor authored
      Tue Sep 24 19:45:55 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap):
              Look up the visual as well as the colormap, since calling
              gdk_drawable_get_visual() causes infinite recursion.
      
              * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
              Set the colormap for the root window.
      6a7d4ee3
    • Hidetoshi Tajima's avatar
      disable/enable preedit/status in GtkIMContextXIM (#59076) · 8cc9e8cf
      Hidetoshi Tajima authored
      	* gnome-settings-xsettings.c: added two new xsettings
      	for GTK+ input method preedit and status styles.
      
      	With the other patch for gtk+, the preedit and status styles of
      	GTK+ input method are configurable with associated gconf schemas
      	keys:
      	"/desktop/gnome/interface/gtk-im-preedit-style"
      	"/desktop/gnome/interface/gtk-im-status-style"
      
      	Both are set to "callback" by default, and platform's
      	packging can have different default by changing
      	libgnome's desktop_gnome_interface.schemas.
      8cc9e8cf
    • Matthias Clasen's avatar
      Replace leftover gdkx_visual_get_for_screen () by · 7a1a8a5f
      Matthias Clasen authored
      	* gdk/x11/gdkvisual-x11.c (gdkx_visual_get): Replace leftover
      	gdkx_visual_get_for_screen () by gdk_x11_screen_lookup_visual().
      7a1a8a5f
    • Matthias Clasen's avatar
      Add a missing ; to make things compile. · 8ad93a0f
      Matthias Clasen authored
      	* gtk/gtkaccelgroup.h: Add a missing ; to make things compile.
      8ad93a0f
    • Matthias Clasen's avatar
      Replace leftover gdk_colormap_lookup () by gdk_x11_colormap_foreign_new () · cdc7d973
      Matthias Clasen authored
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap):
      	Replace leftover gdk_colormap_lookup () by
      	gdk_x11_colormap_foreign_new () to make the linker happy.
      cdc7d973
    • Owen Taylor's avatar
      Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly · ad07608c
      Owen Taylor authored
      Tue Sep 24 17:49:52 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
              Add a GtkAccelGroupFindFunc to clean up the
              prototype. (#76670, Vitaly Tishkov)
      
              * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
              gdkx_visual_get_for_screen() to
              gdk_x11_screen_lookup_visual(). (#85702)
      ad07608c
    • Tor Lillqvist's avatar
      Merge from gtk-2-0: · e53e9652
      Tor Lillqvist authored
      2002-09-25  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
      	WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
      	order to be able to handle it normally in the application. Set
      	ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
      	way we can generate GDK events also for Alt-Fn keys, for instance.
      e53e9652
    • Matthias Clasen's avatar
      Add a missing ; to make things compile. · beb31ce0
      Matthias Clasen authored
      	* gdk/x11/gdkx.h: Add a missing ; to make things compile.
      beb31ce0
    • Owen Taylor's avatar
      Make icon sizes configurable (#70648, slightly based on a patch from Bill · 15896b96
      Owen Taylor authored
      Tue Sep 24 16:40:14 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Make icon sizes configurable (#70648, slightly based
      	on a patch from Bill Haneman, Brian Cameron)
      
      	* gtk/gtkiconfactory.[ch]: Add
      	gtk_icon_size_lookup_for_settings().
      
      	* gtk/gtksettings.c: Add gtk-icon-sizes XSETTING
      
      	* gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings.
      
      	* gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings()
      
      	* gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles()
      	to force all the widgets to recompute their appearance.
      15896b96
    • Owen Taylor's avatar
      Doc twiddle · 73413ba7
      Owen Taylor authored
      73413ba7
    • Owen Taylor's avatar
      gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c Add bounds-checking · c2aa25d7
      Owen Taylor authored
      Tue Sep 24 16:24:22 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c
              * gdk/linux-fb/gdkimage-fb.c (gdk_image_put/get_pixel):
              Add bounds-checking g_return_if_fail(). (Olexiy Avramchenko)
      c2aa25d7
    • Owen Taylor's avatar
      Delete unused private gdk_visual_lookup(), make gdk_colormap_lookup() · f9d267ae
      Owen Taylor authored
      Tue Sep 24 16:04:44 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdkprivate-x11.h gdkcolor-x11.c gdkvisual-x11.c
              gdkwindow-x11.c: Delete unused private gdk_visual_lookup(),
              make gdk_colormap_lookup() private gdkcolor-x11.c.
              make gdk_window_add_colormap_windows private to gdkwindow-x11.c
              (#85674)
      
              * gdk/x11/gdkx.h gdk/x11/gdkcolor-x11.c
              gdkscreen-x11.h: Add gdk_x11_colormap_foreign_new(),
              GDK_ENABLE_BROKEN gdkx_colormap_get(), make the
              colormap hash per-screen. (#85697)
      
              * gdk/x11/gdkxid.c (gdk_xid_table_lookup_for_display):
              Remove a bit of unecessary code.
      f9d267ae
    • German Poo Caaman~o's avatar
      Fixed bug #93072 by Juan Manuel Garca Molina <juanma_gm@wanadoo.es>. · ed737365
      German Poo Caaman~o authored
      2002-09-24  German Poo Caaman~o <gpoo@ubiobio.cl>
      
      	* es.po: Fixed bug #93072 by Juan Manuel Garca Molina
      			<juanma_gm@wanadoo.es>.
      ed737365