diff options
author | jstebbins <[email protected]> | 2009-04-04 21:13:29 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-04-04 21:13:29 +0000 |
commit | 0e8146cb77a2891a228d61fc5cfbca9d715e69fb (patch) | |
tree | 6e1b601c6d51d13cdda4aa7b291bd42e267144b2 /gtk/src/values.c | |
parent | c836a955f7248d35808c0f5e00a72e40d86c1f46 (diff) |
LinGui: preview and picture window changes
- split picture settings into it's own window
- create overlay for preview window (like the mac ui, but not a pretty)
- save window positions and preview display status between sessions
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2297 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/values.c')
-rw-r--r-- | gtk/src/values.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/src/values.c b/gtk/src/values.c index a888d0a50..a2096e008 100644 --- a/gtk/src/values.c +++ b/gtk/src/values.c @@ -252,6 +252,10 @@ ghb_value_cmp(const GValue *vala, const GValue *valb) GType typa; GType typb; + if ((vala == NULL && valb != NULL) || (vala != NULL && valb == NULL)) + { + return 1; + } typa = G_VALUE_TYPE(vala); typb = G_VALUE_TYPE(valb); if (typa != typb) |