gimp-gap r793 - in trunk: . vid_common
- From: wolfgangh svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp-gap r793 - in trunk: . vid_common
- Date: Sat, 8 Nov 2008 16:50:25 +0000 (UTC)
Author: wolfgangh
Date: Sat Nov 8 16:50:25 2008
New Revision: 793
URL: http://svn.gnome.org/viewvc/gimp-gap?rev=793&view=rev
Log:
fix update Encoder Page labels in the video master encoder dialog
Modified:
trunk/ChangeLog
trunk/vid_common/gap_cme_gui.c
Modified: trunk/vid_common/gap_cme_gui.c
==============================================================================
--- trunk/vid_common/gap_cme_gui.c (original)
+++ trunk/vid_common/gap_cme_gui.c Sat Nov 8 16:50:25 2008
@@ -3871,12 +3871,13 @@
static void
p_set_label_to_numeric_value(GtkWidget *label, gint32 value)
{
- char buffer[100];
-
if(label)
{
- g_snprintf(&buffer[0], sizeof(buffer), "%d", value);
- gtk_label_set_text(GTK_LABEL(label), &buffer[0]);
+ char *buffer;
+ buffer = g_strdup_printf("%d", value);
+ gtk_label_set_text(GTK_LABEL(label), buffer);
+ gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
+ g_free(buffer);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]