Confusing about memory leak and GtkTreeView, GtkCellRendererCombo GtkCellRendererSpin

2008-12-11 Thread Keedi Kim
THIS? */ } result: = float: bitrate(1), gop_size(1), quality(0) = float: bitrate(0), gop_size(0), quality(0) Any suggestions and help will be appreciated. Thanks, :-) P.S. If there are documentations for this issues. Could you please recommand the url please? -- Best regards, Keedi Kim

Re: Confusing about memory leak and GtkTreeView, GtkCellRendererCombo GtkCellRendererSpin

2008-12-11 Thread Keedi Kim
-dispose of renderer. (that's why that reference is owned by renderer: who frees, who owns) Yu On Fri, 2008-12-12 at 14:10 +0900, Keedi Kim wrote: HI, :-) Memory leak and reference counts are very confused. I am using GtkTreeView with GtkCellRendererCombo and GtkCellRenderSpin. So, I

Building custom gtk+ lib then program doesn't follow system's default theme.

2008-12-10 Thread Keedi Kim
from another programs. How could my program follows system's default theme? Is there a general way to achieve this? Thanks, :-) -- Best regards, Keedi Kim ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman

Re: Is it possible having different GtkAdjustment values in GtkTreeView

2008-12-09 Thread Keedi Kim
Keedi Kim [EMAIL PROTECTED] Tadej, Tristan, Thanks! In fact I misunderstood about attributes and GtkCellRenderSpin, and I thought each column's spin cell renderer could have only one adjustments. but it was not true. :-) As you were mentioned, I use tree model to store adjustment for each

Re: Is it possible having different GtkAdjustment values in GtkTreeView

2008-12-09 Thread Keedi Kim
); } 2008/12/9 Keedi Kim [EMAIL PROTECTED]: Hi, guys. I have one more question about GtkTreeView. In my GtkTreeView, another column use GtkCellRenderCombo, and I tried store the GtkListStore (for GtkCellRenderCombo) using G_TYPE_OBJECT and set it up as an attribute (model - list_store

Is it possible having different GtkAdjustment values in GtkTreeView

2008-12-08 Thread Keedi Kim
); gtk_adjustment_set_upper (adj, video_attr.bitrate.max); gtk_adjustment_set_step_increment (adj, video_attr.bitrate.step); gtk_adjustment_set_page_increment (adj, video_attr.bitrate.step * 2); } } Any help will be appreciated. Thanks! :-) -- Best regards, Keedi Kim

Re: Is it possible having different GtkAdjustment values in GtkTreeView

2008-12-08 Thread Keedi Kim
using attributes, then everything works great! Thanks again! :-) 2008/12/9 Tristan Van Berkom [EMAIL PROTECTED] On Mon, Dec 8, 2008 at 6:02 AM, Keedi Kim [EMAIL PROTECTED] wrote: Hi! :-) I have some question about GtkTreeView and GtkCellRenderer. Is it possible to have different