1. 25 Sep, 2002 3 commits
    • 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
  2. 24 Sep, 2002 21 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
    • Owen Taylor's avatar
      Remove the check for editable. (Reported by Brent Fox) · 3a93889c
      Owen Taylor authored
      Thu Aug  8 16:58:22 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkspinbutton.c (gtk_spin_button_real_change_value):
              Remove the check for editable. (Reported by Brent Fox)
      3a93889c
    • Owen Taylor's avatar
      Honor GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.) · 9fac16e3
      Owen Taylor authored
      Tue Sep 24 06:17:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkeventbox.c (gtk_event_box_paint): Honor
              GTK_WIDGET_APP_PAINTABLE() (#92305, Jonathan Blandford.)
      9fac16e3
    • Owen Taylor's avatar
      Change the window parameter for · 50fdb4d7
      Owen Taylor authored
      Tue Sep 24 05:26:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdk.h gdk/gdkdisplay.c gdk/linux-fb/gdkevents-fb.c
              gdk/x11/gdkevents-x11.c  gdk/win32/gdkevents-win32.c:
              Change the window parameter for
              gdk_event_send_client_message[_for_display] from guint32
              to GdkNativeWindow. (#79979)
      50fdb4d7
    • Owen Taylor's avatar
      Fix up a bit to look for the loaders in the right place. (#93011, Dennis · 3ed3faca
      Owen Taylor authored
      Tue Sep 24 05:16:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk+.spec.in: Fix up a bit to look for the loaders
              in the right place. (#93011, Dennis Dementiev)
      3ed3faca
    • Owen Taylor's avatar
      Fixes to GtkIMContextSimple compose table for us-intl keyboards (Red Hat · a61948aa
      Owen Taylor authored
      Tue Sep 24 05:12:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimcontextsimple.c: Fixes to GtkIMContextSimple
              compose table for us-intl keyboards (Red Hat bugzilla
              #70995, Alexandre Oliva)
      a61948aa
    • Owen Taylor's avatar
      Chain up so that entry->activates_default is honored. (#93865, Pieter · aa6cde8d
      Owen Taylor authored
      Tue Sep 24 04:50:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkspinbutton.c (gtk_spin_button_activate):
              Chain up so that entry->activates_default is honored.
              (#93865, Pieter Penninckx)
      aa6cde8d
    • Jacob Berkman's avatar
      cpp macros aren't ``;'' terminated · bbf6222a
      Jacob Berkman authored
      2002-09-23  Jacob Berkman  <jacob@ximian.com>
      
      	* gtk/gtkprogress.c (DEFAULT_FORMAT): cpp macros aren't ``;''
      	terminated
      bbf6222a
  3. 23 Sep, 2002 10 commits
    • Owen Taylor's avatar
      Privatize gtk_selection_request, gtk_selection_incr_event · b33ec36d
      Owen Taylor authored
      Mon Sep 23 19:49:11 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkselection.[ch] gtk/gtkwidget.c gtk/gtkmain.c:
              Privatize gtk_selection_request, gtk_selection_incr_event
              gtk_selection_notify, gtk_selection_property_notify.
              Add doc note about future deprecation of gtk_selection_clear()
              which. (#85683)
      
              * gtk/gtkoldeditable.c (gtk_old_editable_selection_clear):
              Chain up, rather than calling gtk_selection_clear().
      b33ec36d
    • Owen Taylor's avatar
      Add missing bug # reference · c52f0127
      Owen Taylor authored
      c52f0127
    • Owen Taylor's avatar
      Restore back to the default format instead of an empty format. · 1b1f2458
      Owen Taylor authored
      Mon Sep 23 18:53:35 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkprogressbar.c (gtk_progress_bar_set_text):
              Restore back to the default format instead of an
              empty format.
      
              * gtk/gtkprogress.c (gtk_progress_set_format_string):
              Make NULL restore back to the default format.
      1b1f2458
    • Owen Taylor's avatar
      Allow accel_path == NULL. (#84241, James Henstridge.) · 21f1b62d
      Owen Taylor authored
      Mon Sep 23 18:45:46 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path):
              Allow accel_path == NULL. (#84241, James Henstridge.)
      21f1b62d
    • Owen Taylor's avatar
      i Add gtk_notebook_get_n_pages (#73229, Havoc Pennington) · 9879b5b4
      Owen Taylor authored
      Mon Sep 23 18:01:52 2002  Owen Taylor  <otaylor@redhat.com>
      i
              * gtk/gtknotebook.[ch]: Add gtk_notebook_get_n_pages
              (#73229, Havoc Pennington)
      
              * gtk/gtknotebook.c (gtk_notebook_get_nth_page): Handle
              -1 to mean the last page, as we do elsewhere. (#73229)
      9879b5b4
    • Owen Taylor's avatar
      Make gtk_menu_shell_select_first() public. (#70374) · 4d7d94f6
      Owen Taylor authored
      Mon Sep 23 17:50:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] gtk/gtkentry.c gtk/gtkmenubar.c
              gtk/gtkmenuitem.c gtk/gtktextview.c: Make
              gtk_menu_shell_select_first() public. (#70374)
      4d7d94f6
    • Owen Taylor's avatar
      Add a keys_changed signal emitted when the keymap changes. (#72148) · a16b63eb
      Owen Taylor authored
      Mon Sep 23 16:48:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkkeys.[ch] gdk/x11/gdkkeys-x11.c gdk/x11/gdkevents-x11.c:
              Add a keys_changed signal emitted when the keymap changes.
              (#72148)
      
              * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry):
              Hook up code to handle keymap changes, change to keep
              a linked list of keymap entries so that we can reinsert
              them in the same order on a keymap change.
      a16b63eb
    • Owen Taylor's avatar
      Use 'signed int' not 'gint' for signed bitfields. (#93020, Vitaly Tishkov) · be19be61
      Owen Taylor authored
      Mon Sep 23 14:58:04 2002  Owen Taylor  <otaylor@redhat.com>
              * gtk/gtkhandlebox.h gtk/gtktextbtree.[ch]:
              Use 'signed int' not 'gint' for signed bitfields.
              (#93020, Vitaly Tishkov)
      
              * gtk/gtktextlayout.h gtk/gtktextbtree.[ch]:
              Fix some 'gint' bitfields that should have been
              unsigned.
      be19be61
    • Owen Taylor's avatar
      Fix incorrect usage of gdk_get_default_root_window ()). (#92767) · d4fe39c3
      Owen Taylor authored
      Mon Sep 23 12:24:14 2002  Owen Taylor  <otaylor@redhat.com>
              * modules/input/gtkimcontextxim.c (status_window_get):
              Fix incorrect usage of gdk_get_default_root_window ()).
              (#92767)
      d4fe39c3
    • Owen Taylor's avatar
      Patch from Joshua N Pritikin to fix problem where signal connection wasn't · a7716c18
      Owen Taylor authored
      Mon Sep 23 12:12:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkspinbutton.c: Patch from Joshua N Pritikin to
              fix problem where signal connection wasn't removed
              from adjustment on finalize. (#93962)
      a7716c18
  4. 22 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Patch from Eric Warmenhoven to with miscellaneous linux-fb fixes, · 5102e76f
      Owen Taylor authored
      Sun Sep 22 18:22:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/linux-fb/{gdkinput.c,gdkkeyboard-fb.c,gdk/linux-fb/gdkmain-fb.c,
              gdk/linux-fb/gdkprivate-fb.h, gdk/linux-fb/gdkwindow-fb.c}:
              Patch from Eric Warmenhoven to with miscellaneous linux-fb
              fixes, including a fix for a crash in
              gdk_keymap_get_entries_for_keycode (#87420)
      5102e76f
  5. 21 Sep, 2002 2 commits
    • Matthias Clasen's avatar
      Mark abstract types as G_TYPE_FLAG_ABSTRACT. (#72383) · 083c3aef
      Matthias Clasen authored
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkgc.c (gdk_gc_get_type):
      	* gtk/gtkmenushell.c (gtk_menu_shell_get_type):
      	* gtk/gtkimcontext.c (gtk_im_context_get_type):
      	* gtk/gtkprogress.c (gtk_progress_get_type):
      	* gtk/gtkoldeditable.c (gtk_old_editable_get_type):
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_type):
      	* gtk/gtkwidget.c (gtk_widget_get_type):
      	* gtk/gtkseparator.c (gtk_separator_get_type):
      	* gtk/gtkscrollbar.c (gtk_scrollbar_get_type):
      	* gtk/gtkscale.c (gtk_scale_get_type):
      	* gtk/gtkrange.c (gtk_range_get_type):
      	* gtk/gtkpaned.c (gtk_paned_get_type):
      	* gtk/gtkmisc.c (gtk_misc_get_type):
      	* gtk/gtkitem.c (gtk_item_get_type):
      	* gtk/gtkcontainer.c (gtk_container_get_type):
      	* gtk/gtkbbox.c (gtk_button_box_get_type):
      	* gtk/gtkbox.c (gtk_box_get_type):
      	* gtk/gtkbin.c (gtk_bin_get_type):
      	* gtk/gtkobject.c (gtk_object_get_type): Mark abstract types as
      	G_TYPE_FLAG_ABSTRACT.  (#72383)
      083c3aef
    • Tor Lillqvist's avatar
      Copy from X11 backend. The old version mishandled consecutive newlines. · d0cac482
      Tor Lillqvist authored
      2002-09-21  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkselection-win32.c (sanitize_utf8): Copy from X11
      	backend. The old version mishandled consecutive newlines.
      
      	* tests/testgtkrc: Remove obsolete mention of gtk-engines and
      	Pixmap theme engine on Win32.
      d0cac482
  6. 20 Sep, 2002 2 commits
  7. 19 Sep, 2002 1 commit