~mdoyen/homebank/5.2.x

« back to all changes in this revision

Viewing changes to src/gtk-dateentry.c

  • Committer: Maxime Doyen
  • Date: 2019-04-11 20:36:11 UTC
  • Revision ID: homebank@free.fr-20190411203611-pby791lywld1op5a
5.2.4 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
 
21
21
//#include <time.h>
 
22
#include <stdlib.h>             /* atoi, atof, atol */
22
23
 
23
24
#include <gtk/gtk.h>
24
25
#include <gdk/gdkkeysyms.h>
483
484
        gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET(dateentry)), GTK_STYLE_CLASS_LINKED);
484
485
 
485
486
        priv->entry = gtk_entry_new ();
 
487
        //todo: see if really useful
486
488
        gtk_entry_set_width_chars(GTK_ENTRY(priv->entry), 16);
487
489
        gtk_entry_set_max_width_chars(GTK_ENTRY(priv->entry), 16);
488
490
        gtk_box_pack_start (GTK_BOX (dateentry), priv->entry, TRUE, TRUE, 0);