GdkImlib-1.8.1 patch to work with GTK+-1.1.5



Hello,

according to ChangeLog of GTK+-1.1.5:

Wed Nov 19 01:22:42 1998  Tim Janik  <timj@gtk.org>
... (stuff deleted)
        * *.c: made deprecated functions issue a message:
        gtk_clist_set_border, gtk_container_block_resize,
        gtk_container_unblock_resize, gtk_container_need_resize,
        gtk_object_class_add_user_signal, gtk_spin_button_construct,
        gtk_scrolled_window_construct.
        removed non-functional functions:
        gtk_container_disable_resize, gtk_container_enable_resize,
        gtk_clist_set_policy.


This requires the following patch:

*** imlib_config.c      Thu Dec  3 20:09:08 1998
--- imlib_config.c.old  Fri Sep 18 21:25:20 1998
***************
*** 1253,1258 ****
--- 1253,1259 ----

     clist = gtk_clist_new_with_titles(3, titles);
     gtk_box_pack_start(GTK_BOX(w), clist, TRUE, TRUE, 0);
+    gtk_clist_set_policy(GTK_CLIST(clist), GTK_POLICY_ALWAYS, GTK_POLICY_AUTOMATIC);
     gtk_signal_connect(GTK_OBJECT(clist), "select_row", GTK_SIGNAL_FUNC(click_list), NULL);
     gtk_clist_freeze(GTK_CLIST(clist));
     for (i = 0; i < vis_num; i++)

or just delete line 1256 in utils/imlib_config.c

Kind regards

    Andreas.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]