<commit_before>package gotk3

//#cgo CFLAGS: -I/usr/include/libappindicator3-0.1
//#cgo LDFLAGS: -lappindicator3
//#cgo pkg-config: gtk+-3.0
//#include <gtk/gtk.h>
//#include <libappindicator/app-indicator.h>
import "C"
import "unsafe"
import "github.com/conformal/gotk3/gtk"
import "github.com/perlw/appindicator"

type AppIndicatorGotk3 struct {
	appindicator.AppIndicator
}

func NewAppIndicator(id, iconName string, category appindicator.Category) *AppIndicatorGotk3 {
	return &AppIndicatorGotk3{(*appindicator.NewAppIndicator(id, iconName, category))}
}

func NewAppIndicatorWithPath(id, iconName, iconPath string, category int) *AppIndicatorGotk3 {
	return &AppIndicatorGotk3{(*appindicator.NewAppIndicatorWithPath(id, iconName, iconPath, category))}
}

func (indicator *AppIndicatorGotk3) SetMenu(menu *gtk.Menu) {
	C.app_indicator_set_menu((*C.AppIndicator)(indicator.IndicatorPtr), (*C.GtkMenu)(unsafe.Pointer(menu.Native())))
}
<commit_msg>Corrected import to reflect change in github username.<commit_after>package gotk3

//#cgo CFLAGS: -I/usr/include/libappindicator3-0.1
//#cgo LDFLAGS: -lappindicator3
//#cgo pkg-config: gtk+-3.0
//#include <gtk/gtk.h>
//#include <libappindicator/app-indicator.h>
import "C"
import "unsafe"
import "github.com/conformal/gotk3/gtk"
import "github.com/doxxan/appindicator"

type AppIndicatorGotk3 struct {
	appindicator.AppIndicator
}

func NewAppIndicator(id, iconName string, category appindicator.Category) *AppIndicatorGotk3 {
	return &AppIndicatorGotk3{(*appindicator.NewAppIndicator(id, iconName, category))}
}

func NewAppIndicatorWithPath(id, iconName, iconPath string, category int) *AppIndicatorGotk3 {
	return &AppIndicatorGotk3{(*appindicator.NewAppIndicatorWithPath(id, iconName, iconPath, category))}
}

func (indicator *AppIndicatorGotk3) SetMenu(menu *gtk.Menu) {
	C.app_indicator_set_menu((*C.AppIndicator)(indicator.IndicatorPtr), (*C.GtkMenu)(unsafe.Pointer(menu.Native())))
}

{'fraction_non_alphanumeric': 0.13439752832131824, 'fraction_numerical': 0.014418125643666324, 'mean_word_length': 6.930612244897959, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7364931', 'n_tokens_mistral': 722, 'n_tokens_neox': 714, 'n_words': 123}