Assign xtype using gdk_x11_atom_to_xatom_for_display () when type !=
Thu Feb 12 11:05:16 2004 Manish Singh <yosh@gimp.org> * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE. * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in gdk_property_get call instead of 0. * docs/reference/gdk/tmpl/properties.sgml: Document the above as GDK_NONE instead of simply 0.
This commit is contained in:
		
				
					committed by
					
						
						Manish Singh
					
				
			
			
				
	
			
			
			
						parent
						
							76665e8b0f
						
					
				
				
					commit
					7cf055efb3
				
			
							
								
								
									
										11
									
								
								ChangeLog
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								ChangeLog
									
									
									
									
									
								
							@ -1,3 +1,14 @@
 | 
			
		||||
Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
 | 
			
		||||
 | 
			
		||||
	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
 | 
			
		||||
	gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
 | 
			
		||||
	gdk_property_get call instead of 0.
 | 
			
		||||
 | 
			
		||||
	* docs/reference/gdk/tmpl/properties.sgml: Document the above
 | 
			
		||||
	as GDK_NONE instead of simply 0.
 | 
			
		||||
 | 
			
		||||
Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,14 @@
 | 
			
		||||
Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
 | 
			
		||||
 | 
			
		||||
	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
 | 
			
		||||
	gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
 | 
			
		||||
	gdk_property_get call instead of 0.
 | 
			
		||||
 | 
			
		||||
	* docs/reference/gdk/tmpl/properties.sgml: Document the above
 | 
			
		||||
	as GDK_NONE instead of simply 0.
 | 
			
		||||
 | 
			
		||||
Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,14 @@
 | 
			
		||||
Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
 | 
			
		||||
 | 
			
		||||
	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
 | 
			
		||||
	gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
 | 
			
		||||
	gdk_property_get call instead of 0.
 | 
			
		||||
 | 
			
		||||
	* docs/reference/gdk/tmpl/properties.sgml: Document the above
 | 
			
		||||
	as GDK_NONE instead of simply 0.
 | 
			
		||||
 | 
			
		||||
Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,14 @@
 | 
			
		||||
Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
 | 
			
		||||
 | 
			
		||||
	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
 | 
			
		||||
	gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
 | 
			
		||||
	gdk_property_get call instead of 0.
 | 
			
		||||
 | 
			
		||||
	* docs/reference/gdk/tmpl/properties.sgml: Document the above
 | 
			
		||||
	as GDK_NONE instead of simply 0.
 | 
			
		||||
 | 
			
		||||
Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,14 @@
 | 
			
		||||
Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
 | 
			
		||||
 | 
			
		||||
	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
 | 
			
		||||
	gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
 | 
			
		||||
	gdk_property_get call instead of 0.
 | 
			
		||||
 | 
			
		||||
	* docs/reference/gdk/tmpl/properties.sgml: Document the above
 | 
			
		||||
	as GDK_NONE instead of simply 0.
 | 
			
		||||
 | 
			
		||||
Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
 | 
			
		||||
 | 
			
		||||
@ -267,7 +267,7 @@ is provided.
 | 
			
		||||
 | 
			
		||||
@window: a #GdkWindow.
 | 
			
		||||
@property: the property to retrieve.
 | 
			
		||||
@type: the desired property type, or 0, if any type of data
 | 
			
		||||
@type: the desired property type, or %GDK_NONE, if any type of data
 | 
			
		||||
       is acceptable. If this does not match the actual
 | 
			
		||||
       type, then @actual_format and @actual_length will
 | 
			
		||||
       be filled in, a warning will be printed to stderr
 | 
			
		||||
 | 
			
		||||
@ -508,7 +508,7 @@ gdk_property_get (GdkWindow   *window,
 | 
			
		||||
  if (type == GDK_NONE)
 | 
			
		||||
    xtype = AnyPropertyType;
 | 
			
		||||
  else
 | 
			
		||||
    xtype = GDK_NONE;
 | 
			
		||||
    xtype = gdk_x11_atom_to_xatom_for_display (display, type);
 | 
			
		||||
 | 
			
		||||
  ret_data = NULL;
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
@ -1141,7 +1141,7 @@ _gtk_selection_request (GtkWidget *widget,
 | 
			
		||||
      mult_atoms = NULL;
 | 
			
		||||
      
 | 
			
		||||
      gdk_error_trap_push ();
 | 
			
		||||
      if (!gdk_property_get (info->requestor, event->property, 0, /* AnyPropertyType */
 | 
			
		||||
      if (!gdk_property_get (info->requestor, event->property, GDK_NONE, /* AnyPropertyType */
 | 
			
		||||
			     0, GTK_SELECTION_MAX_SIZE, FALSE,
 | 
			
		||||
			     &type, &format, &length, &mult_atoms))
 | 
			
		||||
	{
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user