X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=inline;f=gtk%2Fgtkfixed.c;h=14c35afc84e18048d95cba46ae9b00afb94cf23c;hb=0cc688aa92b8fe5452b63fb49c51204498a2988b;hp=e4530058e86cc452e46e733678f994b314eb6eb3;hpb=54c97f3ba2358c60fcc32404b67716e44384fb52;p=~andy%2Fgtk diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index e4530058e..14c35afc8 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -381,7 +379,7 @@ gtk_fixed_realize (GtkWidget *widget) window = gdk_window_new (gtk_widget_get_parent_window (widget), &attributes, attributes_mask); gtk_widget_set_window (widget, window); - gdk_window_set_user_data (window, widget); + gtk_widget_register_window (widget, window); gtk_style_context_set_background (gtk_widget_get_style_context (widget), window);