Return a GdkVisual *, not a GdkVisual **. (#105243)

2003-02-06  Matthias Clasen  <maclas@gmx.de>

	* gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
	a GdkVisual *, not a GdkVisual **.  (#105243)
This commit is contained in:
Matthias Clasen 2003-02-06 19:18:20 +00:00 committed by Matthias Clasen
parent b414adc897
commit d566e483b6
6 changed files with 16 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-02-06 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
a GdkVisual *, not a GdkVisual **. (#105243)
* gtk/gtkclist.c:
* gtk/gtkctree.c:
* gtk/gtkcontainer.c:

View File

@ -1,5 +1,8 @@
2003-02-06 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
a GdkVisual *, not a GdkVisual **. (#105243)
* gtk/gtkclist.c:
* gtk/gtkctree.c:
* gtk/gtkcontainer.c:

View File

@ -1,5 +1,8 @@
2003-02-06 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
a GdkVisual *, not a GdkVisual **. (#105243)
* gtk/gtkclist.c:
* gtk/gtkctree.c:
* gtk/gtkcontainer.c:

View File

@ -1,5 +1,8 @@
2003-02-06 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
a GdkVisual *, not a GdkVisual **. (#105243)
* gtk/gtkclist.c:
* gtk/gtkctree.c:
* gtk/gtkcontainer.c:

View File

@ -1,5 +1,8 @@
2003-02-06 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
a GdkVisual *, not a GdkVisual **. (#105243)
* gtk/gtkclist.c:
* gtk/gtkctree.c:
* gtk/gtkcontainer.c:

View File

@ -397,7 +397,7 @@ gdk_visual_get_best_with_depth (gint depth)
for (i = 0; i < screen_x11->nvisuals; i++)
if (depth == screen_x11->visuals[i]->visual.depth)
{
return_val = (GdkVisual *) & (screen_x11->visuals[i]);
return_val = (GdkVisual *) screen_x11->visuals[i];
break;
}