Back to index

bamf  0.2.120
tab-source-test.c File Reference
#include <stdio.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <glib.h>
#include <libbamf/libbamf.h>

Go to the source code of this file.


int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 

Definition at line 26 of file tab-source-test.c.

  BamfMatcher *matcher;
  BamfControl *control;
  BamfTabSource *source;
  gtk_init (&argc, &argv);

  matcher = bamf_matcher_get_default ();
  control = bamf_control_get_default ();
  source = g_object_new (BAMF_TYPE_TAB_SOURCE, "id", "testingsource", NULL);

  gtk_main ();

  g_object_unref (matcher);
  g_object_unref (control);
  g_object_unref (source);

  return 0;

Here is the call graph for this function: